#B22951#B22951
#B22951 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.173 H 9.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B22951 |
|---|---|
| RGB | rgb(178, 41, 81) |
| HSL | hsl(342, 63%, 43%) |
| HSV | hsv(342, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 54.5%, 30.2%) |
| CIE-LAB | lab(40.65, 56.35, 10.73) |
| CIE-LCH | lch(40.65, 57.36, 10.78°) |
| OKLab | oklab(51.07% 0.1713 0.0273) |
| OKLCH | oklch(51.07% 0.173 9.1) |
| XYZ | xyz(20.6402, 11.6479, 8.9444) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.23
Raspberry (survey)
#B00149
ΔE00 3.37
Light Burgundy
#A8415B
ΔE00 4.18
Ruby
#CA0147
ΔE00 5.36
Deep Pink
#CB0162
ΔE00 5.68
Rouge
#AB1239
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22951 #29B28A
analogous
#B22995 #B22951 #B24629
triadic
#B22951 #51B229 #2951B2
tetradic
#B22951 #95B229 #29B28A #4629B2
square
#B22951 #95B229 #29B28A #4629B2
split-complementary
#B22951 #29B246 #2995B2
monochromatic
#4F1224 #801E3A #B22951 #D4446E #DF7695
Accessibility & contrast
On white
6.31
#B22951 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B22951 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22951
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22951 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C2003A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22951; /* rgb */ color: rgb(178, 41, 81); /* oklch */ color: oklch(51.1% 0.173 9.1);
Tailwind
colors: {
custom: {
50: '#cf7081',
500: '#b22951',
950: '#000000',
},
}SCSS
$custom: #b22951; $custom-light: #cf7081; $custom-dark: #000000;
JSON
{
"hex": "#b22951",
"rgb": {
"r": 178,
"g": 41,
"b": 81
},
"hsl": {
"h": 342.482,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.51068,
"c": 0.17343,
"h": 9.1
},
"luminance": 0.11645
}Semantic roles & 50–950 ramp
primary
#B22951
secondary
#70C7AE
accent
#E6B642
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C