#B94271

A color in the Red, Pink family

#b94271 is a color in the Red, Pink family: RGB(185, 66, 113), HSL(336°, 47%, 49%), CMYK(0%, 64%, 39%, 27%). Closest named color: mediumvioletred. Contrast is 5.15:1 on white and 4.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b94271
RGBrgb(185 66 113)
RGB (legacy)rgb(185, 66, 113)
RGB %rgb(73% 26% 44%)
HSLhsl(336 47% 49%)
HSV / HSBhsv(336, 64%, 73%)
HWBhwb(336 26% 27%)
CMYKcmyk(0%, 64%, 39%, 27%)
CIELAB (D50)lab(46.58 51.68 -0.12)
LCHlch(46.58 51.68 359.87)
OKLaboklab(0.5568 0.1591 -0.0021)
OKLCHoklch(0.5568 0.1592 359.23)
Decimal12141169

Properties

Color ToneRed, Pink
Closest named colormediumvioletred ΔE 7
Closest web-safe color#cc3366
Hue336°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)49%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)42% / 37%
Relative luminance (WCAG)0.154
Red / Green / Blue185 / 66 / 113

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 74.6 / -27.1 · As background with white / black text: Lc -80 / 29.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #b94271;
  --color-brand-oklch: oklch(55.68% 0.1592 359.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(185 66 113 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b94271] text-[#b94271] border-[#b94271]">