#B22A5D#B22A5D
#B22A5D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 3.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B22A5D |
|---|---|
| RGB | rgb(178, 42, 93) |
| HSL | hsl(338, 62%, 43%) |
| HSV | hsv(338, 76%, 70%) |
| CMYK | cmyk(0%, 76.4%, 47.8%, 30.2%) |
| CIE-LAB | lab(41.08, 57.03, 3.77) |
| CIE-LCH | lch(41.08, 57.16, 3.78°) |
| OKLab | oklab(51.49% 0.1747 0.0103) |
| OKLCH | oklch(51.49% 0.175 3.4) |
| XYZ | xyz(21.1656, 11.9141, 11.5389) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.29
Purplish Red
#B0054B
ΔE00 4.45
Light Burgundy
#A8415B
ΔE00 4.50
Raspberry (survey)
#B00149
ΔE00 4.90
Violet Red
#A50055
ΔE00 5.36
Berry
#990F4B
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22A5D #2AB27F
analogous
#B22AA1 #B22A5D #B23B2A
triadic
#B22A5D #5DB22A #2A5DB2
tetradic
#B22A5D #A1B22A #2AB27F #3B2AB2
square
#B22A5D #A1B22A #2AB27F #3B2AB2
split-complementary
#B22A5D #2AB23B #2AA1B2
monochromatic
#4F1329 #801E43 #B22A5D #D3467B #DF779E
Accessibility & contrast
On white
6.21
#B22A5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B22A5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22A5D
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22A5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22A5D | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#6F6A5A
Tritanopia (blue-blind)
#C20940
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b22a5d; /* rgb */ color: rgb(178, 42, 93); /* oklch */ color: oklch(51.5% 0.175 3.4);
Tailwind
colors: {
custom: {
50: '#cf708a',
500: '#b22a5d',
950: '#000000',
},
}SCSS
$custom: #b22a5d; $custom-light: #cf708a; $custom-dark: #000000;
JSON
{
"hex": "#b22a5d",
"rgb": {
"r": 178,
"g": 42,
"b": 93
},
"hsl": {
"h": 337.5,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.51487,
"c": 0.17502,
"h": 3.4
},
"luminance": 0.11911
}Semantic roles & 50–950 ramp
primary
#B22A5D
secondary
#71C7A7
accent
#E5A843
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C