#51162E#51162E
#51162E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.091 H 359.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #51162E |
|---|---|
| RGB | rgb(81, 22, 46) |
| HSL | hsl(336, 57%, 20%) |
| HSV | hsv(336, 73%, 32%) |
| CMYK | cmyk(0%, 72.8%, 43.2%, 68.2%) |
| CIE-LAB | lab(18.01, 29.79, -0.75) |
| CIE-LCH | lch(18.01, 29.80, 358.56°) |
| OKLab | oklab(30.51% 0.0912 -0.0016) |
| OKLCH | oklch(30.51% 0.091 359) |
| XYZ | xyz(4.1737, 2.5209, 2.8510) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.70
Plum (survey)
#580F41
ΔE00 6.79
Dark Plum
#3F012C
ΔE00 7.16
Merlot
#730039
ΔE00 7.48
Maroon (survey)
#650021
ΔE00 8.12
Aubergine
#3D0734
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51162E #165139
analogous
#51164C #51162E #511B16
triadic
#51162E #2E5116 #162E51
tetradic
#51162E #4C5116 #165139 #1B1651
square
#51162E #4C5116 #165139 #1B1651
split-complementary
#51162E #16511B #164C51
monochromatic
#18070E #210913 #51162E #812349 #B13065
Accessibility & contrast
On white
13.96
#51162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#51162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51162E
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51162E | 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)
#21252F
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#581020
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51162e; /* rgb */ color: rgb(81, 22, 46); /* oklch */ color: oklch(30.5% 0.091 359.0);
Tailwind
colors: {
custom: {
50: '#855866',
500: '#51162e',
950: '#000000',
},
}SCSS
$custom: #51162e; $custom-light: #855866; $custom-dark: #000000;
JSON
{
"hex": "#51162e",
"rgb": {
"r": 81,
"g": 22,
"b": 46
},
"hsl": {
"h": 335.593,
"s": 57.282,
"l": 20.196
},
"oklch": {
"l": 0.30513,
"c": 0.0912,
"h": 359
},
"luminance": 0.0252
}Semantic roles & 50–950 ramp
primary
#51162E
secondary
#3A8869
accent
#E1A247
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A