#B22954#B22954
#B22954 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.174 H 7.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B22954 |
|---|---|
| RGB | rgb(178, 41, 84) |
| HSL | hsl(341, 63%, 43%) |
| HSV | hsv(341, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 52.8%, 30.2%) |
| CIE-LAB | lab(40.73, 56.59, 8.94) |
| CIE-LCH | lch(40.73, 57.29, 8.98°) |
| OKLab | oklab(51.15% 0.1724 0.023) |
| OKLCH | oklch(51.15% 0.174 7.6) |
| XYZ | xyz(20.7552, 11.6939, 9.5500) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.47
Light Burgundy
#A8415B
ΔE00 4.02
Deep Pink
#CB0162
ΔE00 5.12
Ruby
#CA0147
ΔE00 5.99
Dark Rose
#B5485D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22954 #29B287
analogous
#B22998 #B22954 #B24329
triadic
#B22954 #54B229 #2954B2
tetradic
#B22954 #98B229 #29B287 #4329B2
square
#B22954 #98B229 #29B287 #4329B2
split-complementary
#B22954 #29B243 #2998B2
monochromatic
#4F1225 #801E3D #B22954 #D44471 #DF7697
Accessibility & contrast
On white
6.29
#B22954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B22954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22954
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22954 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F55
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22954; /* rgb */ color: rgb(178, 41, 84); /* oklch */ color: oklch(51.1% 0.174 7.6);
Tailwind
colors: {
custom: {
50: '#cf7083',
500: '#b22954',
950: '#000000',
},
}SCSS
$custom: #b22954; $custom-light: #cf7083; $custom-dark: #000000;
JSON
{
"hex": "#b22954",
"rgb": {
"r": 178,
"g": 41,
"b": 84
},
"hsl": {
"h": 341.168,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.51148,
"c": 0.17395,
"h": 7.6
},
"luminance": 0.11691
}Semantic roles & 50–950 ramp
primary
#B22954
secondary
#70C7AC
accent
#E6B242
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C