#B8336F#B8336F
#B8336F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.176 H 357.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B8336F |
|---|---|
| RGB | rgb(184, 51, 111) |
| HSL | hsl(333, 57%, 46%) |
| HSV | hsv(333, 72%, 72%) |
| CMYK | cmyk(0%, 72.3%, 39.7%, 27.8%) |
| CIE-LAB | lab(43.81, 57.44, -3.35) |
| CIE-LCH | lch(43.81, 57.53, 356.66°) |
| OKLab | oklab(53.88% 0.1762 -0.0081) |
| OKLCH | oklch(53.88% 0.176 357.4) |
| XYZ | xyz(23.8219, 13.7086, 16.4274) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.56
Deep Pink
#CB0162
ΔE00 5.02
Mediumvioletred
#C71585
ΔE00 5.70
Light Burgundy
#A8415B
ΔE00 6.68
Dark Hot Pink
#D90166
ΔE00 6.71
Dark Pink
#CB416B
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8336F #33B87C
analogous
#B833B1 #B8336F #B83933
triadic
#B8336F #6FB833 #336FB8
tetradic
#B8336F #B1B833 #33B87C #3933B8
square
#B8336F #B1B833 #33B87C #3933B8
split-complementary
#B8336F #33B839 #33B1B8
monochromatic
#581835 #882652 #B8336F #D1588E #DE88AE
Accessibility & contrast
On white
5.61
#B8336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#B8336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8336F
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8336F | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#72716C
Tritanopia (blue-blind)
#C7234D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b8336f; /* rgb */ color: rgb(184, 51, 111); /* oklch */ color: oklch(53.9% 0.176 357.4);
Tailwind
colors: {
custom: {
50: '#d27698',
500: '#b8336f',
950: '#000000',
},
}SCSS
$custom: #b8336f; $custom-light: #d27698; $custom-dark: #000000;
JSON
{
"hex": "#b8336f",
"rgb": {
"r": 184,
"g": 51,
"b": 111
},
"hsl": {
"h": 332.932,
"s": 56.596,
"l": 46.078
},
"oklch": {
"l": 0.53879,
"c": 0.17639,
"h": 357.4
},
"luminance": 0.13706
}Semantic roles & 50–950 ramp
primary
#B8336F
secondary
#7FC8A7
accent
#E09B48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E