#B22A5B#B22A5B
#B22A5B is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.174 H 4.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B22A5B |
|---|---|
| RGB | rgb(178, 42, 91) |
| HSL | hsl(338, 62%, 43%) |
| HSV | hsv(338, 76%, 70%) |
| CMYK | cmyk(0%, 76.4%, 48.9%, 30.2%) |
| CIE-LAB | lab(41.02, 56.86, 4.95) |
| CIE-LCH | lch(41.02, 57.07, 4.97°) |
| OKLab | oklab(51.43% 0.174 0.0132) |
| OKLCH | oklch(51.43% 0.175 4.3) |
| XYZ | xyz(21.0782, 11.8791, 11.0785) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.09
Light Burgundy
#A8415B
ΔE00 4.24
Deep Pink
#CB0162
ΔE00 4.36
Raspberry (survey)
#B00149
ΔE00 4.51
Violet Red
#A50055
ΔE00 5.54
Berry
#990F4B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22A5B #2AB281
analogous
#B22A9F #B22A5B #B23D2A
triadic
#B22A5B #5BB22A #2A5BB2
tetradic
#B22A5B #9FB22A #2AB281 #3D2AB2
square
#B22A5B #9FB22A #2AB281 #3D2AB2
split-complementary
#B22A5B #2AB23D #2A9FB2
monochromatic
#4F1328 #801E42 #B22A5B #D34679 #DF779D
Accessibility & contrast
On white
6.22
#B22A5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B22A5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22A5B
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22A5B | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#C2073F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b22a5b; /* rgb */ color: rgb(178, 42, 91); /* oklch */ color: oklch(51.4% 0.174 4.3);
Tailwind
colors: {
custom: {
50: '#cf7089',
500: '#b22a5b',
950: '#000000',
},
}SCSS
$custom: #b22a5b; $custom-light: #cf7089; $custom-dark: #000000;
JSON
{
"hex": "#b22a5b",
"rgb": {
"r": 178,
"g": 42,
"b": 91
},
"hsl": {
"h": 338.382,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.51428,
"c": 0.1745,
"h": 4.3
},
"luminance": 0.11876
}Semantic roles & 50–950 ramp
primary
#B22A5B
secondary
#71C7A8
accent
#E5AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C