#B22852#B22852
#B22852 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 8.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B22852 |
|---|---|
| RGB | rgb(178, 40, 82) |
| HSL | hsl(342, 63%, 43%) |
| HSV | hsv(342, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 53.9%, 30.2%) |
| CIE-LAB | lab(40.56, 56.74, 9.98) |
| CIE-LCH | lch(40.56, 57.61, 9.98°) |
| OKLab | oklab(51.01% 0.1727 0.0255) |
| OKLCH | oklch(51.01% 0.175 8.4) |
| XYZ | xyz(20.6438, 11.5947, 9.1320) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.06
Raspberry (survey)
#B00149
ΔE00 3.25
Light Burgundy
#A8415B
ΔE00 4.20
Deep Pink
#CB0162
ΔE00 5.42
Ruby
#CA0147
ΔE00 5.62
Dark Rose
#B5485D
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22852 #28B288
analogous
#B22897 #B22852 #B24328
triadic
#B22852 #52B228 #2852B2
tetradic
#B22852 #97B228 #28B288 #4328B2
square
#B22852 #97B228 #28B288 #4328B2
split-complementary
#B22852 #28B243 #2897B2
monochromatic
#4E1224 #801D3B #B22852 #D5436F #E07595
Accessibility & contrast
On white
6.33
#B22852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B22852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22852
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22852 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E53
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#C2003A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22852; /* rgb */ color: rgb(178, 40, 82); /* oklch */ color: oklch(51.0% 0.175 8.4);
Tailwind
colors: {
custom: {
50: '#cf6f82',
500: '#b22852',
950: '#000000',
},
}SCSS
$custom: #b22852; $custom-light: #cf6f82; $custom-dark: #000000;
JSON
{
"hex": "#b22852",
"rgb": {
"r": 178,
"g": 40,
"b": 82
},
"hsl": {
"h": 341.739,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.51013,
"c": 0.17454,
"h": 8.4
},
"luminance": 0.11592
}Semantic roles & 50–950 ramp
primary
#B22852
secondary
#6FC7AC
accent
#E6B441
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C