#B02252#B02252
#B02252 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.178 H 7.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B02252 |
|---|---|
| RGB | rgb(176, 34, 82) |
| HSL | hsl(340, 68%, 41%) |
| HSV | hsv(340, 81%, 69%) |
| CMYK | cmyk(0%, 80.7%, 53.4%, 31%) |
| CIE-LAB | lab(39.56, 57.93, 8.51) |
| CIE-LCH | lch(39.56, 58.55, 8.36°) |
| OKLab | oklab(50.2% 0.1767 0.0219) |
| OKLCH | oklch(50.2% 0.178 7.1) |
| XYZ | xyz(20.0014, 10.9862, 9.0484) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.21
Raspberry (survey)
#B00149
ΔE00 2.54
Light Burgundy
#A8415B
ΔE00 4.83
Deep Pink
#CB0162
ΔE00 5.38
Violet Red
#A50055
ΔE00 5.45
Berry
#990F4B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02252 #22B080
analogous
#B02299 #B02252 #B03922
triadic
#B02252 #52B022 #2252B0
tetradic
#B02252 #99B022 #22B080 #3922B0
square
#B02252 #99B022 #22B080 #3922B0
split-complementary
#B02252 #22B039 #2299B0
monochromatic
#490E22 #7D183A #B02252 #D8376D #E26A93
Accessibility & contrast
On white
6.57
#B02252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#B02252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02252
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02252 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02252; /* rgb */ color: rgb(176, 34, 82); /* oklch */ color: oklch(50.2% 0.178 7.1);
Tailwind
colors: {
custom: {
50: '#ce6d82',
500: '#b02252',
950: '#000000',
},
}SCSS
$custom: #b02252; $custom-light: #ce6d82; $custom-dark: #000000;
JSON
{
"hex": "#b02252",
"rgb": {
"r": 176,
"g": 34,
"b": 82
},
"hsl": {
"h": 339.718,
"s": 67.619,
"l": 41.176
},
"oklch": {
"l": 0.50201,
"c": 0.17808,
"h": 7.1
},
"luminance": 0.10983
}Semantic roles & 50–950 ramp
primary
#B02252
secondary
#66C8A7
accent
#EAB03D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C