#540F39#540F39
#540F39 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.109 H 348.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #540F39 |
|---|---|
| RGB | rgb(84, 15, 57) |
| HSL | hsl(323, 70%, 19%) |
| HSV | hsv(323, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 32.1%, 67.1%) |
| CIE-LAB | lab(18.02, 35.12, -8.47) |
| CIE-LCH | lch(18.02, 36.13, 346.44°) |
| OKLab | oklab(30.78% 0.1071 -0.0223) |
| OKLCH | oklch(30.78% 0.109 348.3) |
| XYZ | xyz(4.5657, 2.5224, 4.1165) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.15
Dark Plum
#3F012C
ΔE00 4.85
Aubergine
#3D0734
ΔE00 5.85
Grape Purple
#5D1451
ΔE00 5.95
Velvet
#750851
ΔE00 7.13
Eggplant Purple
#430541
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F39 #0F542A
analogous
#4D0F54 #540F39 #540F17
triadic
#540F39 #39540F #0F3954
tetradic
#540F39 #544D0F #0F542A #0F1754
square
#540F39 #544D0F #0F542A #0F1754
split-complementary
#540F39 #17540F #0F544D
monochromatic
#1A0512 #200616 #540F39 #88185C #BC227F
Accessibility & contrast
On white
13.96
#540F39 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#540F39 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F39
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F39 | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A243A
Deuteranopia (green-blind)
#2E3037
Tritanopia (blue-blind)
#5B0C22
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #540f39; /* rgb */ color: rgb(84, 15, 57); /* oklch */ color: oklch(30.8% 0.109 348.3);
Tailwind
colors: {
custom: {
50: '#87556f',
500: '#540f39',
950: '#000000',
},
}SCSS
$custom: #540f39; $custom-light: #87556f; $custom-dark: #000000;
JSON
{
"hex": "#540f39",
"rgb": {
"r": 84,
"g": 15,
"b": 57
},
"hsl": {
"h": 323.478,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30777,
"c": 0.10941,
"h": 348.3
},
"luminance": 0.02522
}Semantic roles & 50–950 ramp
primary
#540F39
secondary
#318E55
accent
#ED813B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A