#B52862#B52862
#B52862 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.181 H 1.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B52862 |
|---|---|
| RGB | rgb(181, 40, 98) |
| HSL | hsl(335, 64%, 43%) |
| HSV | hsv(335, 78%, 71%) |
| CMYK | cmyk(0%, 77.9%, 45.9%, 29%) |
| CIE-LAB | lab(41.57, 58.93, 1.41) |
| CIE-LCH | lch(41.57, 58.95, 1.37°) |
| OKLab | oklab(52% 0.1809 0.0043) |
| OKLCH | oklch(52% 0.181 1.4) |
| XYZ | xyz(22.0212, 12.2261, 12.7532) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.87
Light Burgundy
#A8415B
ΔE00 5.41
Purplish Red
#B0054B
ΔE00 5.42
Violet Red
#A50055
ΔE00 5.46
Magenta (survey)
#C20078
ΔE00 5.85
Raspberry (survey)
#B00149
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52862 #28B57B
analogous
#B528A8 #B52862 #B53428
triadic
#B52862 #62B528 #2862B5
tetradic
#B52862 #A8B528 #28B57B #3428B5
square
#B52862 #A8B528 #28B57B #3428B5
split-complementary
#B52862 #28B534 #28A8B5
monochromatic
#51122C #831D47 #B52862 #D64480 #E177A2
Accessibility & contrast
On white
6.10
#B52862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#B52862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52862
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52862 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5163
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#C50542
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52862; /* rgb */ color: rgb(181, 40, 98); /* oklch */ color: oklch(52.0% 0.181 1.4);
Tailwind
colors: {
custom: {
50: '#d1708e',
500: '#b52862',
950: '#000000',
},
}SCSS
$custom: #b52862; $custom-light: #d1708e; $custom-dark: #000000;
JSON
{
"hex": "#b52862",
"rgb": {
"r": 181,
"g": 40,
"b": 98
},
"hsl": {
"h": 335.319,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.52001,
"c": 0.18097,
"h": 1.4
},
"luminance": 0.12223
}Semantic roles & 50–950 ramp
primary
#B52862
secondary
#70C8A4
accent
#E7A341
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D