#B02A52#B02A52
#B02A52 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.171 H 8.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A52 |
|---|---|
| RGB | rgb(176, 42, 82) |
| HSL | hsl(342, 61%, 43%) |
| HSV | hsv(342, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 53.4%, 31%) |
| CIE-LAB | lab(40.41, 55.53, 9.70) |
| CIE-LCH | lch(40.41, 56.37, 9.91°) |
| OKLab | oklab(50.83% 0.169 0.0248) |
| OKLCH | oklch(50.83% 0.171 8.4) |
| XYZ | xyz(20.2573, 11.4981, 9.1337) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.13
Raspberry (survey)
#B00149
ΔE00 3.34
Light Burgundy
#A8415B
ΔE00 3.96
Deep Pink
#CB0162
ΔE00 5.69
Ruby
#CA0147
ΔE00 5.91
Light Maroon
#A24857
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A52 #2AB088
analogous
#B02A95 #B02A52 #B0452A
triadic
#B02A52 #52B02A #2A52B0
tetradic
#B02A52 #95B02A #2AB088 #452AB0
square
#B02A52 #95B02A #2AB088 #452AB0
split-complementary
#B02A52 #2AB045 #2A95B0
monochromatic
#4D1224 #7F1E3B #B02A52 #D3456F #DE7695
Accessibility & contrast
On white
6.37
#B02A52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B02A52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A52
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A52 | 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)
#4C4E53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#C0003B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02a52; /* rgb */ color: rgb(176, 42, 82); /* oklch */ color: oklch(50.8% 0.171 8.4);
Tailwind
colors: {
custom: {
50: '#ce7082',
500: '#b02a52',
950: '#000000',
},
}SCSS
$custom: #b02a52; $custom-light: #ce7082; $custom-dark: #000000;
JSON
{
"hex": "#b02a52",
"rgb": {
"r": 176,
"g": 42,
"b": 82
},
"hsl": {
"h": 342.09,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.50827,
"c": 0.1708,
"h": 8.4
},
"luminance": 0.11495
}Semantic roles & 50–950 ramp
primary
#B02A52
secondary
#70C6AC
accent
#E5B443
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C