#B02A57#B02A57
#B02A57 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.172 H 5.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B02A57 |
|---|---|
| RGB | rgb(176, 42, 87) |
| HSL | hsl(340, 61%, 43%) |
| HSV | hsv(340, 76%, 69%) |
| CMYK | cmyk(0%, 76.1%, 50.6%, 31%) |
| CIE-LAB | lab(40.54, 55.94, 6.72) |
| CIE-LCH | lch(40.54, 56.35, 6.85°) |
| OKLab | oklab(50.96% 0.1709 0.0176) |
| OKLCH | oklch(50.96% 0.172 5.9) |
| XYZ | xyz(20.4546, 11.5770, 10.1725) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.44
Raspberry (survey)
#B00149
ΔE00 3.81
Light Burgundy
#A8415B
ΔE00 3.96
Deep Pink
#CB0162
ΔE00 4.96
Violet Red
#A50055
ΔE00 5.68
Berry
#990F4B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02A57 #2AB083
analogous
#B02A9A #B02A57 #B0402A
triadic
#B02A57 #57B02A #2A57B0
tetradic
#B02A57 #9AB02A #2AB083 #402AB0
square
#B02A57 #9AB02A #2AB083 #402AB0
split-complementary
#B02A57 #2AB040 #2A9AB0
monochromatic
#4D1226 #7F1E3F #B02A57 #D34574 #DE7699
Accessibility & contrast
On white
6.34
#B02A57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B02A57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02A57
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02A57 | 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)
#4B4F58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#C0053D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b02a57; /* rgb */ color: rgb(176, 42, 87); /* oklch */ color: oklch(51.0% 0.172 5.9);
Tailwind
colors: {
custom: {
50: '#ce7086',
500: '#b02a57',
950: '#000000',
},
}SCSS
$custom: #b02a57; $custom-light: #ce7086; $custom-dark: #000000;
JSON
{
"hex": "#b02a57",
"rgb": {
"r": 176,
"g": 42,
"b": 87
},
"hsl": {
"h": 339.851,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.50964,
"c": 0.17177,
"h": 5.9
},
"luminance": 0.11574
}Semantic roles & 50–950 ramp
primary
#B02A57
secondary
#70C6A9
accent
#E5AE43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C