#B02558#B02558
#B02558 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.177 H 4.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B02558 |
|---|---|
| RGB | rgb(176, 37, 88) |
| HSL | hsl(338, 65%, 42%) |
| HSV | hsv(338, 79%, 69%) |
| CMYK | cmyk(0%, 79%, 50%, 31%) |
| CIE-LAB | lab(40.02, 57.57, 5.35) |
| CIE-LCH | lch(40.02, 57.82, 5.31°) |
| OKLab | oklab(50.59% 0.1762 0.0142) |
| OKLCH | oklch(50.59% 0.177 4.6) |
| XYZ | xyz(20.3293, 11.2607, 10.3337) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.28
Raspberry (survey)
#B00149
ΔE00 3.73
Light Burgundy
#A8415B
ΔE00 4.72
Deep Pink
#CB0162
ΔE00 4.78
Violet Red
#A50055
ΔE00 4.81
Berry
#990F4B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02558 #25B07D
analogous
#B0259E #B02558 #B03825
triadic
#B02558 #58B025 #2558B0
tetradic
#B02558 #9EB025 #25B07D #3825B0
square
#B02558 #9EB025 #25B07D #3825B0
split-complementary
#B02558 #25B038 #259EB0
monochromatic
#4B1025 #7D1A3F #B02558 #D63C75 #E16F99
Accessibility & contrast
On white
6.46
#B02558 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B02558 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02558
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02558 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02558 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#C0003C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b02558; /* rgb */ color: rgb(176, 37, 88); /* oklch */ color: oklch(50.6% 0.177 4.6);
Tailwind
colors: {
custom: {
50: '#ce6e86',
500: '#b02558',
950: '#000000',
},
}SCSS
$custom: #b02558; $custom-light: #ce6e86; $custom-dark: #000000;
JSON
{
"hex": "#b02558",
"rgb": {
"r": 176,
"g": 37,
"b": 88
},
"hsl": {
"h": 337.986,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.5059,
"c": 0.17678,
"h": 4.6
},
"luminance": 0.11258
}Semantic roles & 50–950 ramp
primary
#B02558
secondary
#6AC7A5
accent
#E8AA40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C