#B22B7F#B22B7F
#B22B7F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.188 H 347.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B22B7F |
|---|---|
| RGB | rgb(178, 43, 127) |
| HSL | hsl(323, 61%, 43%) |
| HSV | hsv(323, 76%, 70%) |
| CMYK | cmyk(0%, 75.8%, 28.7%, 30.2%) |
| CIE-LAB | lab(42.35, 60.32, -15.53) |
| CIE-LCH | lch(42.35, 62.29, 345.56°) |
| OKLab | oklab(52.8% 0.1837 -0.041) |
| OKLCH | oklch(52.8% 0.188 347.4) |
| XYZ | xyz(23.0559, 12.7276, 21.3171) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.58
Magenta (survey)
#C20078
ΔE00 3.65
Red Violet
#9E0168
ΔE00 6.77
Deep Magenta
#A0025C
ΔE00 7.94
Ugly Purple
#A442A0
ΔE00 8.23
Warm Purple
#952E8F
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22B7F #2BB25E
analogous
#A12BB2 #B22B7F #B22B3B
triadic
#B22B7F #7FB22B #2B7FB2
tetradic
#B22B7F #B2A12B #2BB25E #2B3BB2
square
#B22B7F #B2A12B #2BB25E #2B3BB2
split-complementary
#B22B7F #3BB22B #2BB2A1
monochromatic
#4F1339 #811F5C #B22B7F #D3489E #DF79B8
Accessibility & contrast
On white
5.92
#B22B7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B22B7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22B7F
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22B7F | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#BF2551
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b22b7f; /* rgb */ color: rgb(178, 43, 127); /* oklch */ color: oklch(52.8% 0.188 347.4);
Tailwind
colors: {
custom: {
50: '#cd72a4',
500: '#b22b7f',
950: '#000000',
},
}SCSS
$custom: #b22b7f; $custom-light: #cd72a4; $custom-dark: #000000;
JSON
{
"hex": "#b22b7f",
"rgb": {
"r": 178,
"g": 43,
"b": 127
},
"hsl": {
"h": 322.667,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.52796,
"c": 0.18821,
"h": 347.4
},
"luminance": 0.12725
}Semantic roles & 50–950 ramp
primary
#B22B7F
secondary
#72C792
accent
#E48044
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F