#B22F52#B22F52
#B22F52 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.168 H 9.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F52 |
|---|---|
| RGB | rgb(178, 47, 82) |
| HSL | hsl(344, 58%, 44%) |
| HSV | hsv(344, 74%, 70%) |
| CMYK | cmyk(0%, 73.6%, 53.9%, 30.2%) |
| CIE-LAB | lab(41.39, 54.42, 11.13) |
| CIE-LCH | lch(41.39, 55.55, 11.56°) |
| OKLab | oklab(51.62% 0.1652 0.0283) |
| OKLCH | oklch(51.62% 0.168 9.7) |
| XYZ | xyz(20.9015, 12.1101, 9.2179) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.60
Purplish Red
#B0054B
ΔE00 4.14
Raspberry (survey)
#B00149
ΔE00 4.25
Dark Rose
#B5485D
ΔE00 5.00
Light Maroon
#A24857
ΔE00 5.25
Ruby
#CA0147
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F52 #2FB28F
analogous
#B22F94 #B22F52 #B24D2F
triadic
#B22F52 #52B22F #2F52B2
tetradic
#B22F52 #94B22F #2FB28F #4D2FB2
square
#B22F52 #94B22F #2FB28F #4D2FB2
split-complementary
#B22F52 #2FB24D #2F94B2
monochromatic
#511525 #82223C #B22F52 #D04E71 #DD7E98
Accessibility & contrast
On white
6.14
#B22F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B22F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F52
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F52 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#C20D3D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b22f52; /* rgb */ color: rgb(178, 47, 82); /* oklch */ color: oklch(51.6% 0.168 9.7);
Tailwind
colors: {
custom: {
50: '#cf7282',
500: '#b22f52',
950: '#000000',
},
}SCSS
$custom: #b22f52; $custom-light: #cf7282; $custom-dark: #000000;
JSON
{
"hex": "#b22f52",
"rgb": {
"r": 178,
"g": 47,
"b": 82
},
"hsl": {
"h": 343.969,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.51623,
"c": 0.16762,
"h": 9.7
},
"luminance": 0.12107
}Semantic roles & 50–950 ramp
primary
#B22F52
secondary
#77C6B1
accent
#E1B846
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C