#B22E5F#B22E5F
#B22E5F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.171 H 3.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B22E5F |
|---|---|
| RGB | rgb(178, 46, 95) |
| HSL | hsl(338, 59%, 44%) |
| HSV | hsv(338, 74%, 70%) |
| CMYK | cmyk(0%, 74.2%, 46.6%, 30.2%) |
| CIE-LAB | lab(41.61, 55.89, 3.27) |
| CIE-LCH | lch(41.61, 55.99, 3.35°) |
| OKLab | oklab(51.9% 0.1712 0.009) |
| OKLCH | oklch(51.9% 0.171 3) |
| XYZ | xyz(21.4044, 12.2480, 12.0612) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.22
Deep Pink
#CB0162
ΔE00 4.35
Purplish Red
#B0054B
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.46
Violet Red
#A50055
ΔE00 5.82
Dark Rose
#B5485D
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22E5F #2EB281
analogous
#B22EA1 #B22E5F #B23F2E
triadic
#B22E5F #5FB22E #2E5FB2
tetradic
#B22E5F #A1B22E #2EB281 #3F2EB2
square
#B22E5F #A1B22E #2EB281 #3F2EB2
split-complementary
#B22E5F #2EB23F #2EA1B2
monochromatic
#51152B #812145 #B22E5F #D14C7E #DD7DA1
Accessibility & contrast
On white
6.09
#B22E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B22E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22E5F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22E5F | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5260
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C21543
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b22e5f; /* rgb */ color: rgb(178, 46, 95); /* oklch */ color: oklch(51.9% 0.171 3.0);
Tailwind
colors: {
custom: {
50: '#cf728c',
500: '#b22e5f',
950: '#000000',
},
}SCSS
$custom: #b22e5f; $custom-light: #cf728c; $custom-dark: #000000;
JSON
{
"hex": "#b22e5f",
"rgb": {
"r": 178,
"g": 46,
"b": 95
},
"hsl": {
"h": 337.727,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.51895,
"c": 0.17142,
"h": 3
},
"luminance": 0.12245
}Semantic roles & 50–950 ramp
primary
#B22E5F
secondary
#76C6A8
accent
#E2A846
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D