#B22F5D#B22F5D
#B22F5D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.170 H 4.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F5D |
|---|---|
| RGB | rgb(178, 47, 93) |
| HSL | hsl(339, 58%, 44%) |
| HSV | hsv(339, 74%, 70%) |
| CMYK | cmyk(0%, 73.6%, 47.8%, 30.2%) |
| CIE-LAB | lab(41.68, 55.36, 4.62) |
| CIE-LCH | lch(41.68, 55.55, 4.77°) |
| OKLab | oklab(51.93% 0.1694 0.0124) |
| OKLCH | oklch(51.93% 0.17 4.2) |
| XYZ | xyz(21.3542, 12.2912, 11.6018) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.76
Deep Pink
#CB0162
ΔE00 4.44
Purplish Red
#B0054B
ΔE00 4.75
Raspberry (survey)
#B00149
ΔE00 5.16
Violet Red
#A50055
ΔE00 6.12
Dark Rose
#B5485D
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F5D #2FB284
analogous
#B22F9F #B22F5D #B2432F
triadic
#B22F5D #5DB22F #2F5DB2
tetradic
#B22F5D #9FB22F #2FB284 #432FB2
square
#B22F5D #9FB22F #2FB284 #432FB2
split-complementary
#B22F5D #2FB243 #2F9FB2
monochromatic
#51152A #822244 #B22F5D #D04E7C #DD7EA0
Accessibility & contrast
On white
6.07
#B22F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#B22F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F5D
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F5D | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E525E
Deuteranopia (green-blind)
#706C5A
Tritanopia (blue-blind)
#C21542
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b22f5d; /* rgb */ color: rgb(178, 47, 93); /* oklch */ color: oklch(51.9% 0.170 4.2);
Tailwind
colors: {
custom: {
50: '#cf738a',
500: '#b22f5d',
950: '#000000',
},
}SCSS
$custom: #b22f5d; $custom-light: #cf738a; $custom-dark: #000000;
JSON
{
"hex": "#b22f5d",
"rgb": {
"r": 178,
"g": 47,
"b": 93
},
"hsl": {
"h": 338.931,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.51926,
"c": 0.1698,
"h": 4.2
},
"luminance": 0.12288
}Semantic roles & 50–950 ramp
primary
#B22F5D
secondary
#77C6AA
accent
#E1AB46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C