#B22F86#B22F86
#B22F86 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.188 H 344.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F86 |
|---|---|
| RGB | rgb(178, 47, 134) |
| HSL | hsl(320, 58%, 44%) |
| HSV | hsv(320, 74%, 70%) |
| CMYK | cmyk(0%, 73.6%, 24.7%, 30.2%) |
| CIE-LAB | lab(43.10, 59.90, -18.68) |
| CIE-LCH | lch(43.10, 62.74, 342.68°) |
| OKLab | oklab(53.43% 0.1811 -0.0497) |
| OKLCH | oklch(53.43% 0.188 344.6) |
| XYZ | xyz(23.6806, 13.2218, 23.8546) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.83
Magenta (survey)
#C20078
ΔE00 4.75
Ugly Purple
#A442A0
ΔE00 6.82
Warm Purple
#952E8F
ΔE00 7.47
Red Violet
#9E0168
ΔE00 7.74
Medium Purple
#9E43A2
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F86 #2FB25B
analogous
#9D2FB2 #B22F86 #B22F44
triadic
#B22F86 #86B22F #2F86B2
tetradic
#B22F86 #B29D2F #2FB25B #2F44B2
square
#B22F86 #B29D2F #2FB25B #2F44B2
split-complementary
#B22F86 #44B22F #2FB29D
monochromatic
#51153D #822262 #B22F86 #D04EA4 #DD7EBD
Accessibility & contrast
On white
5.76
#B22F86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#B22F86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F86
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F86 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5888
Deuteranopia (green-blind)
#666E83
Tritanopia (blue-blind)
#BE2D57
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b22f86; /* rgb */ color: rgb(178, 47, 134); /* oklch */ color: oklch(53.4% 0.188 344.6);
Tailwind
colors: {
custom: {
50: '#cd74a9',
500: '#b22f86',
950: '#000000',
},
}SCSS
$custom: #b22f86; $custom-light: #cd74a9; $custom-dark: #000000;
JSON
{
"hex": "#b22f86",
"rgb": {
"r": 178,
"g": 47,
"b": 134
},
"hsl": {
"h": 320.153,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.53432,
"c": 0.18783,
"h": 344.6
},
"luminance": 0.13219
}Semantic roles & 50–950 ramp
primary
#B22F86
secondary
#77C691
accent
#E17A46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F