#B22857#B22857
#B22857 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.175 H 6.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B22857 |
|---|---|
| RGB | rgb(178, 40, 87) |
| HSL | hsl(340, 63%, 43%) |
| HSV | hsv(340, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 51.1%, 30.2%) |
| CIE-LAB | lab(40.69, 57.14, 7.00) |
| CIE-LCH | lch(40.69, 57.57, 6.98°) |
| OKLab | oklab(51.15% 0.1746 0.0183) |
| OKLCH | oklch(51.15% 0.176 6) |
| XYZ | xyz(20.8411, 11.6736, 10.1708) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.35
Raspberry (survey)
#B00149
ΔE00 3.72
Light Burgundy
#A8415B
ΔE00 4.19
Deep Pink
#CB0162
ΔE00 4.65
Violet Red
#A50055
ΔE00 5.76
Dark Rose
#B5485D
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22857 #28B283
analogous
#B2289C #B22857 #B23E28
triadic
#B22857 #57B228 #2857B2
tetradic
#B22857 #9CB228 #28B283 #3E28B2
square
#B22857 #9CB228 #28B283 #3E28B2
split-complementary
#B22857 #28B23E #289CB2
monochromatic
#4E1226 #801D3F #B22857 #D54374 #E07599
Accessibility & contrast
On white
6.30
#B22857 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B22857 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22857
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22857 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E58
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#C2003C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22857; /* rgb */ color: rgb(178, 40, 87); /* oklch */ color: oklch(51.1% 0.175 6.0);
Tailwind
colors: {
custom: {
50: '#cf6f86',
500: '#b22857',
950: '#000000',
},
}SCSS
$custom: #b22857; $custom-light: #cf6f86; $custom-dark: #000000;
JSON
{
"hex": "#b22857",
"rgb": {
"r": 178,
"g": 40,
"b": 87
},
"hsl": {
"h": 339.565,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.51149,
"c": 0.1755,
"h": 6
},
"luminance": 0.11671
}Semantic roles & 50–950 ramp
primary
#B22857
secondary
#6FC7A9
accent
#E6AE41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C