#51112A#51112A
#51112A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.097 H 1.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #51112A |
|---|---|
| RGB | rgb(81, 17, 42) |
| HSL | hsl(337, 65%, 19%) |
| HSV | hsv(337, 79%, 32%) |
| CMYK | cmyk(0%, 79%, 48.1%, 68.2%) |
| CIE-LAB | lab(17.07, 31.53, 0.74) |
| CIE-LCH | lch(17.07, 31.54, 1.35°) |
| OKLab | oklab(29.77% 0.0966 0.0023) |
| OKLCH | oklch(29.77% 0.097 1.4) |
| XYZ | xyz(4.0120, 2.3179, 2.4262) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.62
Maroon (survey)
#650021
ΔE00 7.11
Merlot
#730039
ΔE00 7.22
Dark Plum
#3F012C
ΔE00 7.46
Plum (survey)
#580F41
ΔE00 7.48
Dark Maroon
#3C0008
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51112A #115138
analogous
#51114A #51112A #511811
triadic
#51112A #2A5111 #112A51
tetradic
#51112A #4A5111 #115138 #181151
square
#51112A #4A5111 #115138 #181151
split-complementary
#51112A #115118 #114A51
monochromatic
#19050D #1E0610 #51112A #841C44 #B6265E
Accessibility & contrast
On white
14.35
#51112A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#51112A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51112A
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51112A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51112A | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#302F29
Tritanopia (blue-blind)
#58071C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51112a; /* rgb */ color: rgb(81, 17, 42); /* oklch */ color: oklch(29.8% 0.097 1.4);
Tailwind
colors: {
custom: {
50: '#865563',
500: '#51112a',
950: '#000000',
},
}SCSS
$custom: #51112a; $custom-light: #865563; $custom-dark: #000000;
JSON
{
"hex": "#51112a",
"rgb": {
"r": 81,
"g": 17,
"b": 42
},
"hsl": {
"h": 336.563,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.29774,
"c": 0.09667,
"h": 1.4
},
"luminance": 0.02317
}Semantic roles & 50–950 ramp
primary
#51112A
secondary
#348A68
accent
#E8A640
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879