#B22A52#B22A52
#B22A52 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.173 H 8.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B22A52 |
|---|---|
| RGB | rgb(178, 42, 82) |
| HSL | hsl(342, 62%, 43%) |
| HSV | hsv(342, 76%, 70%) |
| CMYK | cmyk(0%, 76.4%, 53.9%, 30.2%) |
| CIE-LAB | lab(40.79, 56.11, 10.29) |
| CIE-LCH | lch(40.79, 57.05, 10.39°) |
| OKLab | oklab(51.18% 0.1706 0.0263) |
| OKLCH | oklch(51.18% 0.173 8.7) |
| XYZ | xyz(20.7130, 11.7330, 9.1550) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.51
Light Burgundy
#A8415B
ΔE00 4.01
Ruby
#CA0147
ΔE00 5.51
Deep Pink
#CB0162
ΔE00 5.55
Dark Rose
#B5485D
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22A52 #2AB28A
analogous
#B22A96 #B22A52 #B2462A
triadic
#B22A52 #52B22A #2A52B2
tetradic
#B22A52 #96B22A #2AB28A #462AB2
square
#B22A52 #96B22A #2AB28A #462AB2
split-complementary
#B22A52 #2AB246 #2A96B2
monochromatic
#4F1324 #801E3B #B22A52 #D3466F #DF7796
Accessibility & contrast
On white
6.28
#B22A52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B22A52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22A52
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22A52 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22a52; /* rgb */ color: rgb(178, 42, 82); /* oklch */ color: oklch(51.2% 0.173 8.7);
Tailwind
colors: {
custom: {
50: '#cf7082',
500: '#b22a52',
950: '#000000',
},
}SCSS
$custom: #b22a52; $custom-light: #cf7082; $custom-dark: #000000;
JSON
{
"hex": "#b22a52",
"rgb": {
"r": 178,
"g": 42,
"b": 82
},
"hsl": {
"h": 342.353,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.51178,
"c": 0.17264,
"h": 8.7
},
"luminance": 0.1173
}Semantic roles & 50–950 ramp
primary
#B22A52
secondary
#71C7AE
accent
#E5B543
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C