#B22B5F#B22B5F
#B22B5F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 2.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B22B5F |
|---|---|
| RGB | rgb(178, 43, 95) |
| HSL | hsl(337, 61%, 43%) |
| HSV | hsv(337, 76%, 70%) |
| CMYK | cmyk(0%, 75.8%, 46.6%, 30.2%) |
| CIE-LAB | lab(41.25, 56.89, 2.76) |
| CIE-LCH | lch(41.25, 56.96, 2.77°) |
| OKLab | oklab(51.63% 0.1744 0.0077) |
| OKLCH | oklch(51.63% 0.175 2.5) |
| XYZ | xyz(21.2913, 12.0218, 12.0235) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.30
Light Burgundy
#A8415B
ΔE00 4.66
Purplish Red
#B0054B
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 5.34
Violet Red
#A50055
ΔE00 5.38
Magenta (survey)
#C20078
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22B5F #2BB27E
analogous
#B22BA2 #B22B5F #B23A2B
triadic
#B22B5F #5FB22B #2B5FB2
tetradic
#B22B5F #A2B22B #2BB27E #3A2BB2
square
#B22B5F #A2B22B #2BB27E #3A2BB2
split-complementary
#B22B5F #2BB23A #2BA2B2
monochromatic
#4F132A #811F45 #B22B5F #D3487D #DF79A0
Accessibility & contrast
On white
6.17
#B22B5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B22B5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22B5F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22B5F | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C20E41
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b22b5f; /* rgb */ color: rgb(178, 43, 95); /* oklch */ color: oklch(51.6% 0.175 2.5);
Tailwind
colors: {
custom: {
50: '#cf718c',
500: '#b22b5f',
950: '#000000',
},
}SCSS
$custom: #b22b5f; $custom-light: #cf718c; $custom-dark: #000000;
JSON
{
"hex": "#b22b5f",
"rgb": {
"r": 178,
"g": 43,
"b": 95
},
"hsl": {
"h": 336.889,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.51632,
"c": 0.17457,
"h": 2.5
},
"luminance": 0.12019
}Semantic roles & 50–950 ramp
primary
#B22B5F
secondary
#72C7A6
accent
#E4A644
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D