#B02857#B02857
#B02857 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.174 H 5.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B02857 |
|---|---|
| RGB | rgb(176, 40, 87) |
| HSL | hsl(339, 63%, 42%) |
| HSV | hsv(339, 77%, 69%) |
| CMYK | cmyk(0%, 77.3%, 50.6%, 31%) |
| CIE-LAB | lab(40.31, 56.58, 6.40) |
| CIE-LCH | lch(40.31, 56.94, 6.46°) |
| OKLab | oklab(50.8% 0.1729 0.0168) |
| OKLCH | oklch(50.8% 0.174 5.5) |
| XYZ | xyz(20.3854, 11.4386, 10.1494) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.28
Raspberry (survey)
#B00149
ΔE00 3.68
Light Burgundy
#A8415B
ΔE00 4.24
Deep Pink
#CB0162
ΔE00 4.90
Violet Red
#A50055
ΔE00 5.38
Berry
#990F4B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02857 #28B081
analogous
#B0289B #B02857 #B03D28
triadic
#B02857 #57B028 #2857B0
tetradic
#B02857 #9BB028 #28B081 #3D28B0
square
#B02857 #9BB028 #28B081 #3D28B0
split-complementary
#B02857 #28B03D #289BB0
monochromatic
#4C1126 #7E1D3E #B02857 #D44174 #DF7399
Accessibility & contrast
On white
6.39
#B02857 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B02857 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02857
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02857 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02857; /* rgb */ color: rgb(176, 40, 87); /* oklch */ color: oklch(50.8% 0.174 5.5);
Tailwind
colors: {
custom: {
50: '#ce6f86',
500: '#b02857',
950: '#000000',
},
}SCSS
$custom: #b02857; $custom-light: #ce6f86; $custom-dark: #000000;
JSON
{
"hex": "#b02857",
"rgb": {
"r": 176,
"g": 40,
"b": 87
},
"hsl": {
"h": 339.265,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.50798,
"c": 0.17373,
"h": 5.5
},
"luminance": 0.11436
}Semantic roles & 50–950 ramp
primary
#B02857
secondary
#6DC6A8
accent
#E6AD42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C