#B22862#B22862
#B22862 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.178 H 0.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B22862 |
|---|---|
| RGB | rgb(178, 40, 98) |
| HSL | hsl(335, 63%, 43%) |
| HSV | hsv(335, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 44.9%, 30.2%) |
| CIE-LAB | lab(41.00, 58.12, 0.51) |
| CIE-LCH | lch(41.00, 58.12, 0.50°) |
| OKLab | oklab(51.48% 0.1785 0.002) |
| OKLCH | oklch(51.48% 0.178 0.6) |
| XYZ | xyz(21.3252, 11.8672, 12.7206) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.46
Violet Red
#A50055
ΔE00 4.96
Purplish Red
#B0054B
ΔE00 5.48
Light Burgundy
#A8415B
ΔE00 5.60
Magenta (survey)
#C20078
ΔE00 5.73
Raspberry (survey)
#B00149
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22862 #28B278
analogous
#B228A7 #B22862 #B23328
triadic
#B22862 #62B228 #2862B2
tetradic
#B22862 #A7B228 #28B278 #3328B2
square
#B22862 #A7B228 #28B278 #3328B2
split-complementary
#B22862 #28B233 #28A7B2
monochromatic
#4E122B #801D46 #B22862 #D54380 #E075A2
Accessibility & contrast
On white
6.23
#B22862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B22862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22862
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22862 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485063
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#C10942
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b22862; /* rgb */ color: rgb(178, 40, 98); /* oklch */ color: oklch(51.5% 0.178 0.6);
Tailwind
colors: {
custom: {
50: '#cf708e',
500: '#b22862',
950: '#000000',
},
}SCSS
$custom: #b22862; $custom-light: #cf708e; $custom-dark: #000000;
JSON
{
"hex": "#b22862",
"rgb": {
"r": 178,
"g": 40,
"b": 98
},
"hsl": {
"h": 334.783,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.5148,
"c": 0.17848,
"h": 0.6
},
"luminance": 0.11864
}Semantic roles & 50–950 ramp
primary
#B22862
secondary
#6FC7A2
accent
#E6A141
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D