#B02856#B02856
#B02856 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.174 H 6.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B02856 |
|---|---|
| RGB | rgb(176, 40, 86) |
| HSL | hsl(340, 63%, 42%) |
| HSV | hsv(340, 77%, 69%) |
| CMYK | cmyk(0%, 77.3%, 51.1%, 31%) |
| CIE-LAB | lab(40.28, 56.50, 7.00) |
| CIE-LCH | lch(40.28, 56.93, 7.06°) |
| OKLab | oklab(50.77% 0.1726 0.0183) |
| OKLCH | oklch(50.77% 0.174 6) |
| XYZ | xyz(20.3448, 11.4224, 9.9357) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.14
Raspberry (survey)
#B00149
ΔE00 3.52
Light Burgundy
#A8415B
ΔE00 4.19
Deep Pink
#CB0162
ΔE00 5.01
Violet Red
#A50055
ΔE00 5.53
Berry
#990F4B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02856 #28B082
analogous
#B0289A #B02856 #B03E28
triadic
#B02856 #56B028 #2856B0
tetradic
#B02856 #9AB028 #28B082 #3E28B0
square
#B02856 #9AB028 #28B082 #3E28B0
split-complementary
#B02856 #28B03E #289AB0
monochromatic
#4C1125 #7E1D3E #B02856 #D44173 #DF7398
Accessibility & contrast
On white
6.39
#B02856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B02856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02856
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02856 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E57
Deuteranopia (green-blind)
#6E6953
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02856; /* rgb */ color: rgb(176, 40, 86); /* oklch */ color: oklch(50.8% 0.174 6.0);
Tailwind
colors: {
custom: {
50: '#ce6f85',
500: '#b02856',
950: '#000000',
},
}SCSS
$custom: #b02856; $custom-light: #ce6f85; $custom-dark: #000000;
JSON
{
"hex": "#b02856",
"rgb": {
"r": 176,
"g": 40,
"b": 86
},
"hsl": {
"h": 339.706,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.50769,
"c": 0.17351,
"h": 6
},
"luminance": 0.1142
}Semantic roles & 50–950 ramp
primary
#B02856
secondary
#6DC6A8
accent
#E6AE42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C