#B52A5E#B52A5E
#B52A5E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.178 H 3.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B52A5E |
|---|---|
| RGB | rgb(181, 42, 94) |
| HSL | hsl(338, 62%, 44%) |
| HSV | hsv(338, 77%, 71%) |
| CMYK | cmyk(0%, 76.8%, 48.1%, 29%) |
| CIE-LAB | lab(41.67, 57.96, 4.07) |
| CIE-LCH | lch(41.67, 58.10, 4.02°) |
| OKLab | oklab(52.04% 0.1776 0.011) |
| OKLCH | oklch(52.04% 0.178 3.5) |
| XYZ | xyz(21.9063, 12.2908, 11.8063) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.79
Light Burgundy
#A8415B
ΔE00 4.54
Purplish Red
#B0054B
ΔE00 4.69
Raspberry (survey)
#B00149
ΔE00 5.12
Violet Red
#A50055
ΔE00 5.85
Dark Hot Pink
#D90166
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52A5E #2AB581
analogous
#B52AA3 #B52A5E #B53B2A
triadic
#B52A5E #5EB52A #2A5EB5
tetradic
#B52A5E #A3B52A #2AB581 #3B2AB5
square
#B52A5E #A3B52A #2AB581 #3B2AB5
split-complementary
#B52A5E #2AB53B #2AA3B5
monochromatic
#52132A #831E44 #B52A5E #D4487C #E079A0
Accessibility & contrast
On white
6.07
#B52A5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#B52A5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52A5E
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52A5E | 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)
#4C515F
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#C50641
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b52a5e; /* rgb */ color: rgb(181, 42, 94); /* oklch */ color: oklch(52.0% 0.178 3.5);
Tailwind
colors: {
custom: {
50: '#d1718b',
500: '#b52a5e',
950: '#000000',
},
}SCSS
$custom: #b52a5e; $custom-light: #d1718b; $custom-dark: #000000;
JSON
{
"hex": "#b52a5e",
"rgb": {
"r": 181,
"g": 42,
"b": 94
},
"hsl": {
"h": 337.554,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.52037,
"c": 0.17789,
"h": 3.5
},
"luminance": 0.12288
}Semantic roles & 50–950 ramp
primary
#B52A5E
secondary
#73C8A8
accent
#E5A842
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D