#B22B7E#B22B7E
#B22B7E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.188 H 347.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B22B7E |
|---|---|
| RGB | rgb(178, 43, 126) |
| HSL | hsl(323, 61%, 43%) |
| HSV | hsv(323, 76%, 70%) |
| CMYK | cmyk(0%, 75.8%, 29.2%, 30.2%) |
| CIE-LAB | lab(42.31, 60.20, -14.97) |
| CIE-LCH | lch(42.31, 62.03, 346.03°) |
| OKLab | oklab(52.75% 0.1835 -0.0394) |
| OKLCH | oklch(52.75% 0.188 347.9) |
| XYZ | xyz(22.9910, 12.7017, 20.9755) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.53
Mediumvioletred
#C71585
ΔE00 3.59
Red Violet
#9E0168
ΔE00 6.71
Deep Magenta
#A0025C
ΔE00 7.79
Dark Fuchsia
#9D0759
ΔE00 8.39
Ugly Purple
#A442A0
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22B7E #2BB25F
analogous
#A22BB2 #B22B7E #B22B3A
triadic
#B22B7E #7EB22B #2B7EB2
tetradic
#B22B7E #B2A22B #2BB25F #2B3AB2
square
#B22B7E #B2A22B #2BB25F #2B3AB2
split-complementary
#B22B7E #3AB22B #2BB2A2
monochromatic
#4F1338 #811F5B #B22B7E #D3489D #DF79B7
Accessibility & contrast
On white
5.93
#B22B7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B22B7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22B7E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22B7E | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#BF2551
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b22b7e; /* rgb */ color: rgb(178, 43, 126); /* oklch */ color: oklch(52.8% 0.188 347.9);
Tailwind
colors: {
custom: {
50: '#cd72a3',
500: '#b22b7e',
950: '#000000',
},
}SCSS
$custom: #b22b7e; $custom-light: #cd72a3; $custom-dark: #000000;
JSON
{
"hex": "#b22b7e",
"rgb": {
"r": 178,
"g": 43,
"b": 126
},
"hsl": {
"h": 323.111,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.52754,
"c": 0.18767,
"h": 347.9
},
"luminance": 0.12699
}Semantic roles & 50–950 ramp
primary
#B22B7E
secondary
#72C793
accent
#E48144
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F