#B02A51#B02A51
#B02A51 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.171 H 8.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A51 |
|---|---|
| RGB | rgb(176, 42, 81) |
| HSL | hsl(343, 61%, 43%) |
| HSV | hsv(343, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 54%, 31%) |
| CIE-LAB | lab(40.38, 55.45, 10.30) |
| CIE-LCH | lch(40.38, 56.40, 10.52°) |
| OKLab | oklab(50.8% 0.1686 0.0263) |
| OKLCH | oklch(50.8% 0.171 8.9) |
| XYZ | xyz(20.2195, 11.4830, 8.9347) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.16
Raspberry (survey)
#B00149
ΔE00 3.32
Light Burgundy
#A8415B
ΔE00 4.02
Ruby
#CA0147
ΔE00 5.72
Light Maroon
#A24857
ΔE00 5.85
Rouge
#AB1239
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A51 #2AB089
analogous
#B02A94 #B02A51 #B0462A
triadic
#B02A51 #51B02A #2A51B0
tetradic
#B02A51 #94B02A #2AB089 #462AB0
square
#B02A51 #94B02A #2AB089 #462AB0
split-complementary
#B02A51 #2AB046 #2A94B0
monochromatic
#4D1224 #7F1E3A #B02A51 #D3456E #DE7694
Accessibility & contrast
On white
6.37
#B02A51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B02A51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A51
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A51 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02a51; /* rgb */ color: rgb(176, 42, 81); /* oklch */ color: oklch(50.8% 0.171 8.9);
Tailwind
colors: {
custom: {
50: '#ce7081',
500: '#b02a51',
950: '#000000',
},
}SCSS
$custom: #b02a51; $custom-light: #ce7081; $custom-dark: #000000;
JSON
{
"hex": "#b02a51",
"rgb": {
"r": 176,
"g": 42,
"b": 81
},
"hsl": {
"h": 342.537,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.50801,
"c": 0.17063,
"h": 8.9
},
"luminance": 0.1148
}Semantic roles & 50–950 ramp
primary
#B02A51
secondary
#70C6AD
accent
#E5B643
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C