#B02457#B02457
#B02457 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 4.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B02457 |
|---|---|
| RGB | rgb(176, 36, 87) |
| HSL | hsl(338, 66%, 42%) |
| HSV | hsv(338, 80%, 69%) |
| CMYK | cmyk(0%, 79.5%, 50.6%, 31%) |
| CIE-LAB | lab(39.89, 57.78, 5.80) |
| CIE-LCH | lch(39.89, 58.07, 5.73°) |
| OKLab | oklab(50.49% 0.1768 0.0153) |
| OKLCH | oklch(50.49% 0.177 4.9) |
| XYZ | xyz(20.2575, 11.1828, 10.1068) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 3.49
Light Burgundy
#A8415B
ΔE00 4.77
Violet Red
#A50055
ΔE00 4.82
Deep Pink
#CB0162
ΔE00 4.84
Berry
#990F4B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02457 #24B07D
analogous
#B0249D #B02457 #B03724
triadic
#B02457 #57B024 #2457B0
tetradic
#B02457 #9DB024 #24B07D #3724B0
square
#B02457 #9DB024 #24B07D #3724B0
split-complementary
#B02457 #24B037 #249DB0
monochromatic
#4A0F25 #7D1A3E #B02457 #D73A73 #E16D97
Accessibility & contrast
On white
6.49
#B02457 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B02457 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02457
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02457 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02457 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484C58
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b02457; /* rgb */ color: rgb(176, 36, 87); /* oklch */ color: oklch(50.5% 0.177 4.9);
Tailwind
colors: {
custom: {
50: '#ce6e86',
500: '#b02457',
950: '#000000',
},
}SCSS
$custom: #b02457; $custom-light: #ce6e86; $custom-dark: #000000;
JSON
{
"hex": "#b02457",
"rgb": {
"r": 176,
"g": 36,
"b": 87
},
"hsl": {
"h": 338.143,
"s": 66.038,
"l": 41.569
},
"oklch": {
"l": 0.50486,
"c": 0.17744,
"h": 4.9
},
"luminance": 0.1118
}Semantic roles & 50–950 ramp
primary
#B02457
secondary
#68C8A5
accent
#E9AB3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C