#B22A5C#B22A5C
#B22A5C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 3.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B22A5C |
|---|---|
| RGB | rgb(178, 42, 92) |
| HSL | hsl(338, 62%, 43%) |
| HSV | hsv(338, 76%, 70%) |
| CMYK | cmyk(0%, 76.4%, 48.3%, 30.2%) |
| CIE-LAB | lab(41.05, 56.94, 4.36) |
| CIE-LCH | lch(41.05, 57.11, 4.38°) |
| OKLab | oklab(51.46% 0.1744 0.0117) |
| OKLCH | oklch(51.46% 0.175 3.8) |
| XYZ | xyz(21.1216, 11.8965, 11.3072) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.26
Deep Pink
#CB0162
ΔE00 4.31
Light Burgundy
#A8415B
ΔE00 4.36
Raspberry (survey)
#B00149
ΔE00 4.70
Violet Red
#A50055
ΔE00 5.44
Berry
#990F4B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22A5C #2AB280
analogous
#B22AA0 #B22A5C #B23C2A
triadic
#B22A5C #5CB22A #2A5CB2
tetradic
#B22A5C #A0B22A #2AB280 #3C2AB2
square
#B22A5C #A0B22A #2AB280 #3C2AB2
split-complementary
#B22A5C #2AB23C #2AA0B2
monochromatic
#4F1329 #801E42 #B22A5C #D3467A #DF779D
Accessibility & contrast
On white
6.22
#B22A5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B22A5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22A5C
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22A5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22A5C | 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)
#4B505D
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#C20840
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b22a5c; /* rgb */ color: rgb(178, 42, 92); /* oklch */ color: oklch(51.5% 0.175 3.8);
Tailwind
colors: {
custom: {
50: '#cf7089',
500: '#b22a5c',
950: '#000000',
},
}SCSS
$custom: #b22a5c; $custom-light: #cf7089; $custom-dark: #000000;
JSON
{
"hex": "#b22a5c",
"rgb": {
"r": 178,
"g": 42,
"b": 92
},
"hsl": {
"h": 337.941,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.51457,
"c": 0.17475,
"h": 3.8
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#B22A5C
secondary
#71C7A7
accent
#E5A943
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C