#B9336F#B9336F
#B9336F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 357.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B9336F |
|---|---|
| RGB | rgb(185, 51, 111) |
| HSL | hsl(333, 57%, 46%) |
| HSV | hsv(333, 72%, 73%) |
| CMYK | cmyk(0%, 72.4%, 40%, 27.5%) |
| CIE-LAB | lab(43.99, 57.72, -3.06) |
| CIE-LCH | lch(43.99, 57.80, 356.96°) |
| OKLab | oklab(54.04% 0.1771 -0.0073) |
| OKLCH | oklch(54.04% 0.177 357.6) |
| XYZ | xyz(24.0623, 13.8326, 16.4387) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.63
Deep Pink
#CB0162
ΔE00 4.88
Mediumvioletred
#C71585
ΔE00 5.74
Dark Hot Pink
#D90166
ΔE00 6.50
Light Burgundy
#A8415B
ΔE00 6.66
Dark Pink
#CB416B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9336F #33B97D
analogous
#B933B2 #B9336F #B93A33
triadic
#B9336F #6FB933 #336FB9
tetradic
#B9336F #B2B933 #33B97D #3A33B9
square
#B9336F #B2B933 #33B97D #3A33B9
split-complementary
#B9336F #33B93A #33B2B9
monochromatic
#591935 #892652 #B9336F #D1588E #DE88AF
Accessibility & contrast
On white
5.58
#B9336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#B9336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9336F
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9336F | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#73716C
Tritanopia (blue-blind)
#C8224D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b9336f; /* rgb */ color: rgb(185, 51, 111); /* oklch */ color: oklch(54.0% 0.177 357.6);
Tailwind
colors: {
custom: {
50: '#d37698',
500: '#b9336f',
950: '#000000',
},
}SCSS
$custom: #b9336f; $custom-light: #d37698; $custom-dark: #000000;
JSON
{
"hex": "#b9336f",
"rgb": {
"r": 185,
"g": 51,
"b": 111
},
"hsl": {
"h": 333.134,
"s": 56.78,
"l": 46.275
},
"oklch": {
"l": 0.54044,
"c": 0.17724,
"h": 357.6
},
"luminance": 0.1383
}Semantic roles & 50–950 ramp
primary
#B9336F
secondary
#80C8A8
accent
#E09C48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E