#B52A5D#B52A5D
#B52A5D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.178 H 4.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A5D |
|---|---|
| RGB | rgb(181, 42, 93) |
| HSL | hsl(338, 62%, 44%) |
| HSV | hsv(338, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 48.6%, 29%) |
| CIE-LAB | lab(41.65, 57.87, 4.66) |
| CIE-LCH | lch(41.65, 58.06, 4.60°) |
| OKLab | oklab(52.01% 0.1772 0.0125) |
| OKLCH | oklch(52.01% 0.178 4) |
| XYZ | xyz(21.8617, 12.2730, 11.5715) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.82
Light Burgundy
#A8415B
ΔE00 4.41
Purplish Red
#B0054B
ΔE00 4.51
Raspberry (survey)
#B00149
ΔE00 4.93
Violet Red
#A50055
ΔE00 5.92
Dark Hot Pink
#D90166
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A5D #2AB582
analogous
#B52AA2 #B52A5D #B53D2A
triadic
#B52A5D #5DB52A #2A5DB5
tetradic
#B52A5D #A2B52A #2AB582 #3D2AB5
square
#B52A5D #A2B52A #2AB582 #3D2AB5
split-complementary
#B52A5D #2AB53D #2AA2B5
monochromatic
#52132A #831E43 #B52A5D #D4487B #E0799F
Accessibility & contrast
On white
6.08
#B52A5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B52A5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A5D
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A5D | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C50540
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52a5d; /* rgb */ color: rgb(181, 42, 93); /* oklch */ color: oklch(52.0% 0.178 4.0);
Tailwind
colors: {
custom: {
50: '#d1718a',
500: '#b52a5d',
950: '#000000',
},
}SCSS
$custom: #b52a5d; $custom-light: #d1718a; $custom-dark: #000000;
JSON
{
"hex": "#b52a5d",
"rgb": {
"r": 181,
"g": 42,
"b": 93
},
"hsl": {
"h": 337.986,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.52008,
"c": 0.17763,
"h": 4
},
"luminance": 0.1227
}Semantic roles & 50–950 ramp
primary
#B52A5D
secondary
#73C8A9
accent
#E5AA42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C