#B22D5F#B22D5F
#B22D5F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.172 H 2.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B22D5F |
|---|---|
| RGB | rgb(178, 45, 95) |
| HSL | hsl(337, 60%, 44%) |
| HSV | hsv(337, 75%, 70%) |
| CMYK | cmyk(0%, 74.7%, 46.6%, 30.2%) |
| CIE-LAB | lab(41.49, 56.23, 3.10) |
| CIE-LCH | lch(41.49, 56.32, 3.15°) |
| OKLab | oklab(51.81% 0.1723 0.0086) |
| OKLCH | oklch(51.81% 0.172 2.8) |
| XYZ | xyz(21.3658, 12.1708, 12.0484) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.33
Light Burgundy
#A8415B
ΔE00 4.37
Purplish Red
#B0054B
ΔE00 4.98
Raspberry (survey)
#B00149
ΔE00 5.42
Violet Red
#A50055
ΔE00 5.67
Dark Hot Pink
#D90166
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22D5F #2DB280
analogous
#B22DA1 #B22D5F #B23E2D
triadic
#B22D5F #5FB22D #2D5FB2
tetradic
#B22D5F #A1B22D #2DB280 #3E2DB2
square
#B22D5F #A1B22D #2DB280 #3E2DB2
split-complementary
#B22D5F #2DB23E #2DA1B2
monochromatic
#50142B #812145 #B22D5F #D14B7D #DE7CA1
Accessibility & contrast
On white
6.12
#B22D5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#B22D5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22D5F
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22D5F | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5160
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C21342
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b22d5f; /* rgb */ color: rgb(178, 45, 95); /* oklch */ color: oklch(51.8% 0.172 2.8);
Tailwind
colors: {
custom: {
50: '#cf728c',
500: '#b22d5f',
950: '#000000',
},
}SCSS
$custom: #b22d5f; $custom-light: #cf728c; $custom-dark: #000000;
JSON
{
"hex": "#b22d5f",
"rgb": {
"r": 178,
"g": 45,
"b": 95
},
"hsl": {
"h": 337.444,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.51805,
"c": 0.17248,
"h": 2.8
},
"luminance": 0.12168
}Semantic roles & 50–950 ramp
primary
#B22D5F
secondary
#75C6A8
accent
#E3A745
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D