#B02B52#B02B52
#B02B52 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.170 H 8.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B02B52 |
|---|---|
| RGB | rgb(176, 43, 82) |
| HSL | hsl(342, 61%, 43%) |
| HSV | hsv(342, 76%, 69%) |
| CMYK | cmyk(0%, 75.6%, 53.4%, 31%) |
| CIE-LAB | lab(40.52, 55.20, 9.87) |
| CIE-LCH | lch(40.52, 56.08, 10.13°) |
| OKLab | oklab(50.91% 0.1679 0.0252) |
| OKLCH | oklch(50.91% 0.17 8.5) |
| XYZ | xyz(20.2932, 11.5699, 9.1456) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.28
Raspberry (survey)
#B00149
ΔE00 3.47
Light Burgundy
#A8415B
ΔE00 3.85
Deep Pink
#CB0162
ΔE00 5.75
Light Maroon
#A24857
ΔE00 5.78
Ruby
#CA0147
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02B52 #2BB089
analogous
#B02B94 #B02B52 #B0462B
triadic
#B02B52 #52B02B #2B52B0
tetradic
#B02B52 #94B02B #2BB089 #462BB0
square
#B02B52 #94B02B #2BB089 #462BB0
split-complementary
#B02B52 #2BB046 #2B94B0
monochromatic
#4E1324 #7F1F3B #B02B52 #D2466F #DE7896
Accessibility & contrast
On white
6.34
#B02B52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B02B52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02B52
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02B52 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#C0033B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02b52; /* rgb */ color: rgb(176, 43, 82); /* oklch */ color: oklch(50.9% 0.170 8.5);
Tailwind
colors: {
custom: {
50: '#ce7082',
500: '#b02b52',
950: '#000000',
},
}SCSS
$custom: #b02b52; $custom-light: #ce7082; $custom-dark: #000000;
JSON
{
"hex": "#b02b52",
"rgb": {
"r": 176,
"g": 43,
"b": 82
},
"hsl": {
"h": 342.406,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.50914,
"c": 0.16981,
"h": 8.5
},
"luminance": 0.11567
}Semantic roles & 50–950 ramp
primary
#B02B52
secondary
#71C6AD
accent
#E4B544
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C