#540D1F#540D1F
#540D1F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.102 H 11.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #540D1F |
|---|---|
| RGB | rgb(84, 13, 31) |
| HSL | hsl(345, 73%, 19%) |
| HSV | hsv(345, 85%, 33%) |
| CMYK | cmyk(0%, 84.5%, 63.1%, 67.1%) |
| CIE-LAB | lab(16.86, 32.99, 8.47) |
| CIE-LCH | lch(16.86, 34.06, 14.41°) |
| OKLab | oklab(29.63% 0.0997 0.0211) |
| OKLCH | oklch(29.63% 0.102 11.9) |
| XYZ | xyz(4.0478, 2.2722, 1.5215) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.29
Maroon (survey)
#650021
ΔE00 3.87
Dark Maroon
#3C0008
ΔE00 5.78
Claret
#680018
ΔE00 6.28
Deep Brown
#410200
ΔE00 7.23
Dried Blood
#4B0101
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540D1F #0D5442
analogous
#540D43 #540D1F #541F0D
triadic
#540D1F #1F540D #0D1F54
tetradic
#540D1F #43540D #0D5442 #1F0D54
square
#540D1F #43540D #0D5442 #1F0D54
split-complementary
#540D1F #0D541F #0D4354
monochromatic
#1A040A #1F050B #540D1F #891533 #BE1D46
Accessibility & contrast
On white
14.44
#540D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#540D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540D1F
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540D1F | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21201F
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540d1f; /* rgb */ color: rgb(84, 13, 31); /* oklch */ color: oklch(29.6% 0.102 11.9);
Tailwind
colors: {
custom: {
50: '#89545a',
500: '#540d1f',
950: '#000000',
},
}SCSS
$custom: #540d1f; $custom-light: #89545a; $custom-dark: #000000;
JSON
{
"hex": "#540d1f",
"rgb": {
"r": 84,
"g": 13,
"b": 31
},
"hsl": {
"h": 344.789,
"s": 73.196,
"l": 19.02
},
"oklch": {
"l": 0.29625,
"c": 0.10189,
"h": 11.9
},
"luminance": 0.02272
}Semantic roles & 50–950 ramp
primary
#540D1F
secondary
#2E8F76
accent
#F0C138
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878