#B22559#B22559
#B22559 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 4.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B22559 |
|---|---|
| RGB | rgb(178, 37, 89) |
| HSL | hsl(338, 66%, 42%) |
| HSV | hsv(338, 79%, 70%) |
| CMYK | cmyk(0%, 79.2%, 50%, 30.2%) |
| CIE-LAB | lab(40.43, 58.20, 5.36) |
| CIE-LCH | lch(40.43, 58.45, 5.26°) |
| OKLab | oklab(50.97% 0.1782 0.0142) |
| OKLCH | oklch(50.97% 0.179 4.6) |
| XYZ | xyz(20.8267, 11.5123, 10.5747) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.48
Raspberry (survey)
#B00149
ΔE00 3.92
Deep Pink
#CB0162
ΔE00 4.40
Light Burgundy
#A8415B
ΔE00 4.71
Violet Red
#A50055
ΔE00 5.08
Berry
#990F4B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22559 #25B27E
analogous
#B225A0 #B22559 #B23725
triadic
#B22559 #59B225 #2559B2
tetradic
#B22559 #A0B225 #25B27E #3725B2
square
#B22559 #A0B225 #25B27E #3725B2
split-complementary
#B22559 #25B237 #25A0B2
monochromatic
#4D1026 #7F1A40 #B22559 #D73D76 #E1709A
Accessibility & contrast
On white
6.36
#B22559 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B22559 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22559
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22559 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22559 | 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)
#494E5A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#C2003C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22559; /* rgb */ color: rgb(178, 37, 89); /* oklch */ color: oklch(51.0% 0.179 4.6);
Tailwind
colors: {
custom: {
50: '#cf6e87',
500: '#b22559',
950: '#000000',
},
}SCSS
$custom: #b22559; $custom-light: #cf6e87; $custom-dark: #000000;
JSON
{
"hex": "#b22559",
"rgb": {
"r": 178,
"g": 37,
"b": 89
},
"hsl": {
"h": 337.872,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.50973,
"c": 0.17874,
"h": 4.6
},
"luminance": 0.11509
}Semantic roles & 50–950 ramp
primary
#B22559
secondary
#6BC8A6
accent
#E9AA3F
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C