#51182E#51182E
#51182E is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.088 H 359.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #51182E |
|---|---|
| RGB | rgb(81, 24, 46) |
| HSL | hsl(337, 54%, 21%) |
| HSV | hsv(337, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 43.2%, 68.2%) |
| CIE-LAB | lab(18.37, 28.83, -0.23) |
| CIE-LCH | lch(18.37, 28.83, 359.54°) |
| OKLab | oklab(30.78% 0.0881 -0.0002) |
| OKLCH | oklch(30.78% 0.088 359.8) |
| XYZ | xyz(4.2134, 2.6003, 2.8643) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.71
Plum (survey)
#580F41
ΔE00 7.23
Dark Plum
#3F012C
ΔE00 7.62
Merlot
#730039
ΔE00 7.70
Maroon (survey)
#650021
ΔE00 8.06
Aubergine
#3D0734
ΔE00 9.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51182E #18513B
analogous
#51184A #51182E #511E18
triadic
#51182E #2E5118 #182E51
tetradic
#51182E #4A5118 #18513B #1E1851
square
#51182E #4A5118 #18513B #1E1851
split-complementary
#51182E #18511E #184A51
monochromatic
#18070D #220A13 #51182E #802649 #AF3464
Accessibility & contrast
On white
13.82
#51182E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#51182E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51182E
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51182E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51182E | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#32312D
Tritanopia (blue-blind)
#581221
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #51182e; /* rgb */ color: rgb(81, 24, 46); /* oklch */ color: oklch(30.8% 0.088 359.8);
Tailwind
colors: {
custom: {
50: '#855966',
500: '#51182e',
950: '#000000',
},
}SCSS
$custom: #51182e; $custom-light: #855966; $custom-dark: #000000;
JSON
{
"hex": "#51182e",
"rgb": {
"r": 81,
"g": 24,
"b": 46
},
"hsl": {
"h": 336.842,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30775,
"c": 0.08813,
"h": 359.8
},
"luminance": 0.026
}Semantic roles & 50–950 ramp
primary
#51182E
secondary
#3D886B
accent
#DEA54A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A