#B9336E#B9336E
#B9336E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 358.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B9336E |
|---|---|
| RGB | rgb(185, 51, 110) |
| HSL | hsl(334, 57%, 46%) |
| HSV | hsv(334, 72%, 73%) |
| CMYK | cmyk(0%, 72.4%, 40.5%, 27.5%) |
| CIE-LAB | lab(43.96, 57.61, -2.49) |
| CIE-LCH | lch(43.96, 57.67, 357.53°) |
| OKLab | oklab(54.01% 0.1768 -0.0058) |
| OKLCH | oklch(54.01% 0.177 358.1) |
| XYZ | xyz(24.0076, 13.8107, 16.1503) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.71
Magenta (survey)
#C20078
ΔE00 4.81
Mediumvioletred
#C71585
ΔE00 5.97
Dark Hot Pink
#D90166
ΔE00 6.36
Light Burgundy
#A8415B
ΔE00 6.44
Dark Pink
#CB416B
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9336E #33B97E
analogous
#B933B1 #B9336E #B93B33
triadic
#B9336E #6EB933 #336EB9
tetradic
#B9336E #B1B933 #33B97E #3B33B9
square
#B9336E #B1B933 #33B97E #3B33B9
split-complementary
#B9336E #33B93B #33B1B9
monochromatic
#591935 #892651 #B9336E #D1588D #DE88AE
Accessibility & contrast
On white
5.58
#B9336E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#B9336E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9336E
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9336E | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5870
Deuteranopia (green-blind)
#73716B
Tritanopia (blue-blind)
#C8224C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b9336e; /* rgb */ color: rgb(185, 51, 110); /* oklch */ color: oklch(54.0% 0.177 358.1);
Tailwind
colors: {
custom: {
50: '#d37697',
500: '#b9336e',
950: '#000000',
},
}SCSS
$custom: #b9336e; $custom-light: #d37697; $custom-dark: #000000;
JSON
{
"hex": "#b9336e",
"rgb": {
"r": 185,
"g": 51,
"b": 110
},
"hsl": {
"h": 333.582,
"s": 56.78,
"l": 46.275
},
"oklch": {
"l": 0.5401,
"c": 0.17687,
"h": 358.1
},
"luminance": 0.13808
}Semantic roles & 50–950 ramp
primary
#B9336E
secondary
#80C8A8
accent
#E09D48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E