#54102A#54102A
#54102A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.101 H 2.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #54102A |
|---|---|
| RGB | rgb(84, 16, 42) |
| HSL | hsl(337, 68%, 20%) |
| HSV | hsv(337, 81%, 33%) |
| CMYK | cmyk(0%, 81%, 50%, 67.1%) |
| CIE-LAB | lab(17.57, 32.92, 1.54) |
| CIE-LCH | lch(17.57, 32.95, 2.68°) |
| OKLab | oklab(30.25% 0.1009 0.0043) |
| OKLCH | oklch(30.25% 0.101 2.4) |
| XYZ | xyz(4.2597, 2.4231, 2.4334) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.87
Maroon (survey)
#650021
ΔE00 6.37
Merlot
#730039
ΔE00 6.61
Plum (survey)
#580F41
ΔE00 7.74
Dark Plum
#3F012C
ΔE00 8.03
Dark Maroon
#3C0008
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54102A #10543A
analogous
#54104C #54102A #541810
triadic
#54102A #2A5410 #102A54
tetradic
#54102A #4C5410 #10543A #181054
square
#54102A #4C5410 #10543A #181054
split-complementary
#54102A #105418 #104C54
monochromatic
#1A050D #210610 #54102A #871A44 #BB245D
Accessibility & contrast
On white
14.15
#54102A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#54102A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54102A
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54102A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54102A | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#323028
Tritanopia (blue-blind)
#5C041B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #54102a; /* rgb */ color: rgb(84, 16, 42); /* oklch */ color: oklch(30.3% 0.101 2.4);
Tailwind
colors: {
custom: {
50: '#885563',
500: '#54102a',
950: '#000000',
},
}SCSS
$custom: #54102a; $custom-light: #885563; $custom-dark: #000000;
JSON
{
"hex": "#54102a",
"rgb": {
"r": 84,
"g": 16,
"b": 42
},
"hsl": {
"h": 337.059,
"s": 68,
"l": 19.608
},
"oklch": {
"l": 0.30254,
"c": 0.10097,
"h": 2.4
},
"luminance": 0.02423
}Semantic roles & 50–950 ramp
primary
#54102A
secondary
#328E6B
accent
#EBA83D
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879