#B22756#B22756
#B22756 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.176 H 6.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B22756 |
|---|---|
| RGB | rgb(178, 39, 86) |
| HSL | hsl(340, 64%, 43%) |
| HSV | hsv(340, 78%, 70%) |
| CMYK | cmyk(0%, 78.1%, 51.7%, 30.2%) |
| CIE-LAB | lab(40.56, 57.36, 7.44) |
| CIE-LCH | lch(40.56, 57.85, 7.39°) |
| OKLab | oklab(51.04% 0.1752 0.0194) |
| OKLCH | oklch(51.04% 0.176 6.3) |
| XYZ | xyz(20.7672, 11.5908, 9.9460) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.15
Raspberry (survey)
#B00149
ΔE00 3.50
Light Burgundy
#A8415B
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 4.74
Violet Red
#A50055
ΔE00 5.78
Berry
#990F4B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22756 #27B283
analogous
#B2279C #B22756 #B23D27
triadic
#B22756 #56B227 #2756B2
tetradic
#B22756 #9CB227 #27B283 #3D27B2
square
#B22756 #9CB227 #27B283 #3D27B2
split-complementary
#B22756 #27B23D #279CB2
monochromatic
#4E1125 #801C3E #B22756 #D54173 #E07398
Accessibility & contrast
On white
6.33
#B22756 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B22756 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22756
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22756 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22756 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#6F6A53
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22756; /* rgb */ color: rgb(178, 39, 86); /* oklch */ color: oklch(51.0% 0.176 6.3);
Tailwind
colors: {
custom: {
50: '#cf6f85',
500: '#b22756',
950: '#000000',
},
}SCSS
$custom: #b22756; $custom-light: #cf6f85; $custom-dark: #000000;
JSON
{
"hex": "#b22756",
"rgb": {
"r": 178,
"g": 39,
"b": 86
},
"hsl": {
"h": 339.712,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.51041,
"c": 0.17623,
"h": 6.3
},
"luminance": 0.11588
}Semantic roles & 50–950 ramp
primary
#B22756
secondary
#6DC8A9
accent
#E7AF41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C