#B22962#B22962
#B22962 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.177 H 0.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B22962 |
|---|---|
| RGB | rgb(178, 41, 98) |
| HSL | hsl(335, 63%, 43%) |
| HSV | hsv(335, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 44.9%, 30.2%) |
| CIE-LAB | lab(41.11, 57.81, 0.67) |
| CIE-LCH | lch(41.11, 57.81, 0.66°) |
| OKLab | oklab(51.56% 0.1775 0.0024) |
| OKLCH | oklch(51.56% 0.178 0.8) |
| XYZ | xyz(21.3593, 11.9355, 12.7319) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.44
Violet Red
#A50055
ΔE00 5.07
Light Burgundy
#A8415B
ΔE00 5.46
Purplish Red
#B0054B
ΔE00 5.49
Magenta (survey)
#C20078
ΔE00 5.82
Raspberry (survey)
#B00149
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22962 #29B279
analogous
#B229A7 #B22962 #B23429
triadic
#B22962 #62B229 #2962B2
tetradic
#B22962 #A7B229 #29B279 #3429B2
square
#B22962 #A7B229 #29B279 #3429B2
split-complementary
#B22962 #29B234 #29A7B2
monochromatic
#4F122B #801E47 #B22962 #D44480 #DF76A2
Accessibility & contrast
On white
6.20
#B22962 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B22962 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22962
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22962 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6E6A5F
Tritanopia (blue-blind)
#C10C42
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b22962; /* rgb */ color: rgb(178, 41, 98); /* oklch */ color: oklch(51.6% 0.177 0.8);
Tailwind
colors: {
custom: {
50: '#cf708e',
500: '#b22962',
950: '#000000',
},
}SCSS
$custom: #b22962; $custom-light: #cf708e; $custom-dark: #000000;
JSON
{
"hex": "#b22962",
"rgb": {
"r": 178,
"g": 41,
"b": 98
},
"hsl": {
"h": 335.036,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.5156,
"c": 0.1775,
"h": 0.8
},
"luminance": 0.11933
}Semantic roles & 50–950 ramp
primary
#B22962
secondary
#70C7A3
accent
#E6A242
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D