#B22952#B22952
#B22952 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.174 H 8.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B22952 |
|---|---|
| RGB | rgb(178, 41, 82) |
| HSL | hsl(342, 63%, 43%) |
| HSV | hsv(342, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 53.9%, 30.2%) |
| CIE-LAB | lab(40.68, 56.43, 10.13) |
| CIE-LCH | lch(40.68, 57.33, 10.18°) |
| OKLab | oklab(51.09% 0.1717 0.0259) |
| OKLCH | oklch(51.09% 0.174 8.6) |
| XYZ | xyz(20.6780, 11.6630, 9.1433) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.38
Light Burgundy
#A8415B
ΔE00 4.10
Deep Pink
#CB0162
ΔE00 5.48
Ruby
#CA0147
ΔE00 5.56
Dark Rose
#B5485D
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22952 #29B289
analogous
#B22996 #B22952 #B24529
triadic
#B22952 #52B229 #2952B2
tetradic
#B22952 #96B229 #29B289 #4529B2
square
#B22952 #96B229 #29B289 #4529B2
split-complementary
#B22952 #29B245 #2996B2
monochromatic
#4F1224 #801E3B #B22952 #D4446F #DF7696
Accessibility & contrast
On white
6.30
#B22952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B22952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22952
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22952 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E53
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22952; /* rgb */ color: rgb(178, 41, 82); /* oklch */ color: oklch(51.1% 0.174 8.6);
Tailwind
colors: {
custom: {
50: '#cf7082',
500: '#b22952',
950: '#000000',
},
}SCSS
$custom: #b22952; $custom-light: #cf7082; $custom-dark: #000000;
JSON
{
"hex": "#b22952",
"rgb": {
"r": 178,
"g": 41,
"b": 82
},
"hsl": {
"h": 342.044,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.51094,
"c": 0.1736,
"h": 8.6
},
"luminance": 0.1166
}Semantic roles & 50–950 ramp
primary
#B22952
secondary
#70C7AD
accent
#E6B542
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C