#B02851#B02851
#B02851 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.173 H 8.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B02851 |
|---|---|
| RGB | rgb(176, 40, 81) |
| HSL | hsl(342, 63%, 42%) |
| HSV | hsv(342, 77%, 69%) |
| CMYK | cmyk(0%, 77.3%, 54%, 31%) |
| CIE-LAB | lab(40.15, 56.09, 9.98) |
| CIE-LCH | lch(40.15, 56.97, 10.09°) |
| OKLab | oklab(50.63% 0.1707 0.0255) |
| OKLCH | oklch(50.63% 0.173 8.5) |
| XYZ | xyz(20.1504, 11.3446, 8.9117) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.87
Raspberry (survey)
#B00149
ΔE00 3.05
Light Burgundy
#A8415B
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 5.75
Ruby
#CA0147
ΔE00 5.83
Rouge
#AB1239
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02851 #28B087
analogous
#B02895 #B02851 #B04328
triadic
#B02851 #51B028 #2851B0
tetradic
#B02851 #95B028 #28B087 #4328B0
square
#B02851 #95B028 #28B087 #4328B0
split-complementary
#B02851 #28B043 #2895B0
monochromatic
#4C1123 #7E1D3A #B02851 #D4416D #DF7394
Accessibility & contrast
On white
6.43
#B02851 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B02851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02851
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02851 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4D52
Deuteranopia (green-blind)
#6F684E
Tritanopia (blue-blind)
#C0003A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02851; /* rgb */ color: rgb(176, 40, 81); /* oklch */ color: oklch(50.6% 0.173 8.5);
Tailwind
colors: {
custom: {
50: '#ce6f81',
500: '#b02851',
950: '#000000',
},
}SCSS
$custom: #b02851; $custom-light: #ce6f81; $custom-dark: #000000;
JSON
{
"hex": "#b02851",
"rgb": {
"r": 176,
"g": 40,
"b": 81
},
"hsl": {
"h": 341.912,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.50633,
"c": 0.17255,
"h": 8.5
},
"luminance": 0.11342
}Semantic roles & 50–950 ramp
primary
#B02851
secondary
#6DC6AC
accent
#E6B542
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C