#51182A#51182A
#51182A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.6% C 0.087 H 4.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #51182A |
|---|---|
| RGB | rgb(81, 24, 42) |
| HSL | hsl(341, 54%, 21%) |
| HSV | hsv(341, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 48.1%, 68.2%) |
| CIE-LAB | lab(18.23, 28.34, 2.42) |
| CIE-LCH | lch(18.23, 28.44, 4.88°) |
| OKLab | oklab(30.63% 0.0865 0.0065) |
| OKLCH | oklch(30.63% 0.087 4.3) |
| XYZ | xyz(4.1382, 2.5703, 2.4682) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.79
Maroon (survey)
#650021
ΔE00 6.96
Merlot
#730039
ΔE00 8.05
Dark Maroon
#3C0008
ΔE00 8.08
Plum (survey)
#580F41
ΔE00 8.83
Dark Plum
#3F012C
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51182A #18513F
analogous
#511846 #51182A #512218
triadic
#51182A #2A5118 #182A51
tetradic
#51182A #465118 #18513F #221851
square
#51182A #465118 #18513F #221851
split-complementary
#51182A #185122 #184651
monochromatic
#18070C #220A12 #51182A #802642 #AF345B
Accessibility & contrast
On white
13.87
#51182A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#51182A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51182A
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51182A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51182A | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24252A
Deuteranopia (green-blind)
#333129
Tritanopia (blue-blind)
#58111F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51182a; /* rgb */ color: rgb(81, 24, 42); /* oklch */ color: oklch(30.6% 0.087 4.3);
Tailwind
colors: {
custom: {
50: '#855963',
500: '#51182a',
950: '#000000',
},
}SCSS
$custom: #51182a; $custom-light: #855963; $custom-dark: #000000;
JSON
{
"hex": "#51182a",
"rgb": {
"r": 81,
"g": 24,
"b": 42
},
"hsl": {
"h": 341.053,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30633,
"c": 0.08674,
"h": 4.3
},
"luminance": 0.0257
}Semantic roles & 50–950 ramp
primary
#51182A
secondary
#3D8870
accent
#DEAF4A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979