#B52962#B52962
#B52962 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.180 H 1.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B52962 |
|---|---|
| RGB | rgb(181, 41, 98) |
| HSL | hsl(336, 63%, 44%) |
| HSV | hsv(336, 77%, 71%) |
| CMYK | cmyk(0%, 77.3%, 45.9%, 29%) |
| CIE-LAB | lab(41.68, 58.63, 1.56) |
| CIE-LCH | lch(41.68, 58.65, 1.53°) |
| OKLab | oklab(52.08% 0.18 0.0047) |
| OKLCH | oklch(52.08% 0.18 1.5) |
| XYZ | xyz(22.0554, 12.2944, 12.7646) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.86
Light Burgundy
#A8415B
ΔE00 5.29
Purplish Red
#B0054B
ΔE00 5.44
Violet Red
#A50055
ΔE00 5.57
Raspberry (survey)
#B00149
ΔE00 5.90
Magenta (survey)
#C20078
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52962 #29B57C
analogous
#B529A8 #B52962 #B53629
triadic
#B52962 #62B529 #2962B5
tetradic
#B52962 #A8B529 #29B57C #3629B5
square
#B52962 #A8B529 #29B57C #3629B5
split-complementary
#B52962 #29B536 #29A8B5
monochromatic
#51122C #831E47 #B52962 #D54680 #E078A3
Accessibility & contrast
On white
6.07
#B52962 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#B52962 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52962
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52962 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#706C5F
Tritanopia (blue-blind)
#C50842
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52962; /* rgb */ color: rgb(181, 41, 98); /* oklch */ color: oklch(52.1% 0.180 1.5);
Tailwind
colors: {
custom: {
50: '#d1718e',
500: '#b52962',
950: '#000000',
},
}SCSS
$custom: #b52962; $custom-light: #d1718e; $custom-dark: #000000;
JSON
{
"hex": "#b52962",
"rgb": {
"r": 181,
"g": 41,
"b": 98
},
"hsl": {
"h": 335.571,
"s": 63.063,
"l": 43.529
},
"oklch": {
"l": 0.52079,
"c": 0.18001,
"h": 1.5
},
"luminance": 0.12291
}Semantic roles & 50–950 ramp
primary
#B52962
secondary
#72C8A5
accent
#E6A342
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D