#B2336F#B2336F
#B2336F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.171 H 355.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B2336F |
|---|---|
| RGB | rgb(178, 51, 111) |
| HSL | hsl(332, 55%, 45%) |
| HSV | hsv(332, 71%, 70%) |
| CMYK | cmyk(0%, 71.3%, 37.6%, 30.2%) |
| CIE-LAB | lab(42.74, 55.73, -5.06) |
| CIE-LCH | lch(42.74, 55.96, 354.82°) |
| OKLab | oklab(52.89% 0.1709 -0.0126) |
| OKLCH | oklch(52.89% 0.171 355.8) |
| XYZ | xyz(22.4146, 12.9830, 16.3614) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.37
Mediumvioletred
#C71585
ΔE00 5.67
Deep Pink
#CB0162
ΔE00 6.00
Light Burgundy
#A8415B
ΔE00 7.00
Violet Red
#A50055
ΔE00 7.07
Deep Magenta
#A0025C
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2336F #33B276
analogous
#B233AE #B2336F #B23733
triadic
#B2336F #6FB233 #336FB2
tetradic
#B2336F #AEB233 #33B276 #3733B2
square
#B2336F #AEB233 #33B276 #3733B2
split-complementary
#B2336F #33B237 #33AEB2
monochromatic
#531834 #822551 #B2336F #CE548E #DC84AD
Accessibility & contrast
On white
5.84
#B2336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B2336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2336F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2336F | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C0264D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b2336f; /* rgb */ color: rgb(178, 51, 111); /* oklch */ color: oklch(52.9% 0.171 355.8);
Tailwind
colors: {
custom: {
50: '#ce7598',
500: '#b2336f',
950: '#000000',
},
}SCSS
$custom: #b2336f; $custom-light: #ce7598; $custom-dark: #000000;
JSON
{
"hex": "#b2336f",
"rgb": {
"r": 178,
"g": 51,
"b": 111
},
"hsl": {
"h": 331.654,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.52888,
"c": 0.17131,
"h": 355.8
},
"luminance": 0.1298
}Semantic roles & 50–950 ramp
primary
#B2336F
secondary
#7CC5A2
accent
#DF9849
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E