#B22957#B22957
#B22957 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.175 H 6.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B22957 |
|---|---|
| RGB | rgb(178, 41, 87) |
| HSL | hsl(340, 63%, 43%) |
| HSV | hsv(340, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 51.1%, 30.2%) |
| CIE-LAB | lab(40.80, 56.83, 7.16) |
| CIE-LCH | lch(40.80, 57.28, 7.18°) |
| OKLab | oklab(51.23% 0.1736 0.0187) |
| OKLCH | oklch(51.23% 0.175 6.1) |
| XYZ | xyz(20.8752, 11.7419, 10.1822) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.43
Raspberry (survey)
#B00149
ΔE00 3.79
Light Burgundy
#A8415B
ΔE00 4.06
Deep Pink
#CB0162
ΔE00 4.68
Violet Red
#A50055
ΔE00 5.91
Dark Rose
#B5485D
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22957 #29B284
analogous
#B2299B #B22957 #B23F29
triadic
#B22957 #57B229 #2957B2
tetradic
#B22957 #9BB229 #29B284 #3F29B2
square
#B22957 #9BB229 #29B284 #3F29B2
split-complementary
#B22957 #29B23F #299BB2
monochromatic
#4F1226 #801E3F #B22957 #D44474 #DF7699
Accessibility & contrast
On white
6.27
#B22957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B22957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22957
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22957 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#C2003D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22957; /* rgb */ color: rgb(178, 41, 87); /* oklch */ color: oklch(51.2% 0.175 6.1);
Tailwind
colors: {
custom: {
50: '#cf7086',
500: '#b22957',
950: '#000000',
},
}SCSS
$custom: #b22957; $custom-light: #cf7086; $custom-dark: #000000;
JSON
{
"hex": "#b22957",
"rgb": {
"r": 178,
"g": 41,
"b": 87
},
"hsl": {
"h": 339.854,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.5123,
"c": 0.17455,
"h": 6.1
},
"luminance": 0.11739
}Semantic roles & 50–950 ramp
primary
#B22957
secondary
#70C7AA
accent
#E6AF42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C