#B52E6F#B52E6F
#B52E6F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 355.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B52E6F |
|---|---|
| RGB | rgb(181, 46, 111) |
| HSL | hsl(331, 59%, 45%) |
| HSV | hsv(331, 75%, 71%) |
| CMYK | cmyk(0%, 74.6%, 38.7%, 29%) |
| CIE-LAB | lab(42.66, 58.32, -5.12) |
| CIE-LCH | lch(42.66, 58.54, 354.98°) |
| OKLab | oklab(52.93% 0.1791 -0.0127) |
| OKLCH | oklch(52.93% 0.18 355.9) |
| XYZ | xyz(22.9038, 12.9283, 16.3251) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.75
Mediumvioletred
#C71585
ΔE00 5.26
Deep Pink
#CB0162
ΔE00 5.55
Violet Red
#A50055
ΔE00 6.86
Deep Magenta
#A0025C
ΔE00 6.99
Light Burgundy
#A8415B
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B52E6F #2EB574
analogous
#B52EB3 #B52E6F #B5312E
triadic
#B52E6F #6FB52E #2E6FB5
tetradic
#B52E6F #B3B52E #2EB574 #312EB5
square
#B52E6F #B3B52E #2EB574 #312EB5
split-complementary
#B52E6F #2EB531 #2EB3B5
monochromatic
#531533 #842251 #B52E6F #D24E8E #DE7FAD
Accessibility & contrast
On white
5.86
#B52E6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B52E6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B52E6F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B52E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B52E6F | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C41E4A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b52e6f; /* rgb */ color: rgb(181, 46, 111); /* oklch */ color: oklch(52.9% 0.180 355.9);
Tailwind
colors: {
custom: {
50: '#d07398',
500: '#b52e6f',
950: '#000000',
},
}SCSS
$custom: #b52e6f; $custom-light: #d07398; $custom-dark: #000000;
JSON
{
"hex": "#b52e6f",
"rgb": {
"r": 181,
"g": 46,
"b": 111
},
"hsl": {
"h": 331.111,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.52928,
"c": 0.17951,
"h": 355.9
},
"luminance": 0.12925
}Semantic roles & 50–950 ramp
primary
#B52E6F
secondary
#78C7A1
accent
#E39745
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E