#B02751#B02751
#B02751 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.173 H 8.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B02751 |
|---|---|
| RGB | rgb(176, 39, 81) |
| HSL | hsl(342, 64%, 42%) |
| HSV | hsv(342, 78%, 69%) |
| CMYK | cmyk(0%, 77.8%, 54%, 31%) |
| CIE-LAB | lab(40.05, 56.40, 9.83) |
| CIE-LCH | lch(40.05, 57.25, 9.89°) |
| OKLab | oklab(50.55% 0.1717 0.0251) |
| OKLCH | oklch(50.55% 0.173 8.3) |
| XYZ | xyz(20.1171, 11.2781, 8.9006) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.73
Raspberry (survey)
#B00149
ΔE00 2.93
Light Burgundy
#A8415B
ΔE00 4.33
Deep Pink
#CB0162
ΔE00 5.70
Ruby
#CA0147
ΔE00 5.89
Rouge
#AB1239
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02751 #27B086
analogous
#B02796 #B02751 #B04227
triadic
#B02751 #51B027 #2751B0
tetradic
#B02751 #96B027 #27B086 #4227B0
square
#B02751 #96B027 #27B086 #4227B0
split-complementary
#B02751 #27B042 #2796B0
monochromatic
#4C1123 #7E1C3A #B02751 #D5406D #E07293
Accessibility & contrast
On white
6.45
#B02751 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B02751 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02751
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02751 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#6F684E
Tritanopia (blue-blind)
#C00039
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b02751; /* rgb */ color: rgb(176, 39, 81); /* oklch */ color: oklch(50.6% 0.173 8.3);
Tailwind
colors: {
custom: {
50: '#ce6f81',
500: '#b02751',
950: '#000000',
},
}SCSS
$custom: #b02751; $custom-light: #ce6f81; $custom-dark: #000000;
JSON
{
"hex": "#b02751",
"rgb": {
"r": 176,
"g": 39,
"b": 81
},
"hsl": {
"h": 341.606,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.50552,
"c": 0.17349,
"h": 8.3
},
"luminance": 0.11275
}Semantic roles & 50–950 ramp
primary
#B02751
secondary
#6CC7AB
accent
#E7B441
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C