#B02957#B02957
#B02957 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 5.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B02957 |
|---|---|
| RGB | rgb(176, 41, 87) |
| HSL | hsl(340, 62%, 43%) |
| HSV | hsv(340, 77%, 69%) |
| CMYK | cmyk(0%, 76.7%, 50.6%, 31%) |
| CIE-LAB | lab(40.42, 56.26, 6.56) |
| CIE-LCH | lch(40.42, 56.65, 6.65°) |
| OKLab | oklab(50.88% 0.1719 0.0172) |
| OKLCH | oklch(50.88% 0.173 5.7) |
| XYZ | xyz(20.4195, 11.5069, 10.1608) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.35
Raspberry (survey)
#B00149
ΔE00 3.74
Light Burgundy
#A8415B
ΔE00 4.10
Deep Pink
#CB0162
ΔE00 4.93
Violet Red
#A50055
ΔE00 5.53
Berry
#990F4B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02957 #29B082
analogous
#B0299A #B02957 #B03F29
triadic
#B02957 #57B029 #2957B0
tetradic
#B02957 #9AB029 #29B082 #3F29B0
square
#B02957 #9AB029 #29B082 #3F29B0
split-complementary
#B02957 #29B03F #299AB0
monochromatic
#4D1226 #7E1D3E #B02957 #D34374 #DF7599
Accessibility & contrast
On white
6.36
#B02957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B02957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02957
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02957 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#C0023D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02957; /* rgb */ color: rgb(176, 41, 87); /* oklch */ color: oklch(50.9% 0.173 5.7);
Tailwind
colors: {
custom: {
50: '#ce7086',
500: '#b02957',
950: '#000000',
},
}SCSS
$custom: #b02957; $custom-light: #ce7086; $custom-dark: #000000;
JSON
{
"hex": "#b02957",
"rgb": {
"r": 176,
"g": 41,
"b": 87
},
"hsl": {
"h": 339.556,
"s": 62.212,
"l": 42.549
},
"oklch": {
"l": 0.5088,
"c": 0.17277,
"h": 5.7
},
"luminance": 0.11504
}Semantic roles & 50–950 ramp
primary
#B02957
secondary
#6FC6A8
accent
#E5AE43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C