#B02757#B02757
#B02757 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.175 H 5.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B02757 |
|---|---|
| RGB | rgb(176, 39, 87) |
| HSL | hsl(339, 64%, 42%) |
| HSV | hsv(339, 78%, 69%) |
| CMYK | cmyk(0%, 77.8%, 50.6%, 31%) |
| CIE-LAB | lab(40.20, 56.89, 6.25) |
| CIE-LCH | lch(40.20, 57.23, 6.27°) |
| OKLab | oklab(50.72% 0.1739 0.0164) |
| OKLCH | oklch(50.72% 0.175 5.4) |
| XYZ | xyz(20.3521, 11.3721, 10.1383) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.62
Light Burgundy
#A8415B
ΔE00 4.38
Deep Pink
#CB0162
ΔE00 4.88
Violet Red
#A50055
ΔE00 5.23
Berry
#990F4B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02757 #27B080
analogous
#B0279C #B02757 #B03B27
triadic
#B02757 #57B027 #2757B0
tetradic
#B02757 #9CB027 #27B080 #3B27B0
square
#B02757 #9CB027 #27B080 #3B27B0
split-complementary
#B02757 #27B03B #279CB0
monochromatic
#4C1125 #7E1C3E #B02757 #D54074 #E07298
Accessibility & contrast
On white
6.41
#B02757 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B02757 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02757
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02757 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4D58
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02757; /* rgb */ color: rgb(176, 39, 87); /* oklch */ color: oklch(50.7% 0.175 5.4);
Tailwind
colors: {
custom: {
50: '#ce6f86',
500: '#b02757',
950: '#000000',
},
}SCSS
$custom: #b02757; $custom-light: #ce6f86; $custom-dark: #000000;
JSON
{
"hex": "#b02757",
"rgb": {
"r": 176,
"g": 39,
"b": 87
},
"hsl": {
"h": 338.978,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.50717,
"c": 0.17469,
"h": 5.4
},
"luminance": 0.11369
}Semantic roles & 50–950 ramp
primary
#B02757
secondary
#6CC7A7
accent
#E7AD41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C