#B22762#B22762
#B22762 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.179 H 0.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B22762 |
|---|---|
| RGB | rgb(178, 39, 98) |
| HSL | hsl(335, 64%, 43%) |
| HSV | hsv(335, 78%, 70%) |
| CMYK | cmyk(0%, 78.1%, 44.9%, 30.2%) |
| CIE-LAB | lab(40.90, 58.42, 0.36) |
| CIE-LCH | lch(40.90, 58.42, 0.35°) |
| OKLab | oklab(51.4% 0.1794 0.0016) |
| OKLCH | oklch(51.4% 0.179 0.5) |
| XYZ | xyz(21.2919, 11.8007, 12.7095) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.49
Violet Red
#A50055
ΔE00 4.85
Purplish Red
#B0054B
ΔE00 5.47
Magenta (survey)
#C20078
ΔE00 5.65
Light Burgundy
#A8415B
ΔE00 5.73
Raspberry (survey)
#B00149
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22762 #27B277
analogous
#B227A8 #B22762 #B23127
triadic
#B22762 #62B227 #2762B2
tetradic
#B22762 #A8B227 #27B277 #3127B2
square
#B22762 #A8B227 #27B277 #3127B2
split-complementary
#B22762 #27B231 #27A8B2
monochromatic
#4E112B #801C46 #B22762 #D54180 #E073A1
Accessibility & contrast
On white
6.25
#B22762 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B22762 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22762
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22762 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22762 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F63
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#C10741
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22762; /* rgb */ color: rgb(178, 39, 98); /* oklch */ color: oklch(51.4% 0.179 0.5);
Tailwind
colors: {
custom: {
50: '#cf6f8e',
500: '#b22762',
950: '#000000',
},
}SCSS
$custom: #b22762; $custom-light: #cf6f8e; $custom-dark: #000000;
JSON
{
"hex": "#b22762",
"rgb": {
"r": 178,
"g": 39,
"b": 98
},
"hsl": {
"h": 334.532,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.51401,
"c": 0.17945,
"h": 0.5
},
"luminance": 0.11798
}Semantic roles & 50–950 ramp
primary
#B22762
secondary
#6DC8A1
accent
#E7A041
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D