#51182C#51182C
#51182C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.087 H 2.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #51182C |
|---|---|
| RGB | rgb(81, 24, 44) |
| HSL | hsl(339, 54%, 21%) |
| HSV | hsv(339, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 45.7%, 68.2%) |
| CIE-LAB | lab(18.30, 28.58, 1.09) |
| CIE-LCH | lch(18.30, 28.60, 2.19°) |
| OKLab | oklab(30.7% 0.0873 0.0032) |
| OKLCH | oklch(30.7% 0.087 2.1) |
| XYZ | xyz(4.1749, 2.5849, 2.6615) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.22
Maroon (survey)
#650021
ΔE00 7.49
Merlot
#730039
ΔE00 7.83
Plum (survey)
#580F41
ΔE00 8.01
Dark Plum
#3F012C
ΔE00 8.24
Dark Maroon
#3C0008
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51182C #18513D
analogous
#511848 #51182C #512018
triadic
#51182C #2C5118 #182C51
tetradic
#51182C #485118 #18513D #201851
square
#51182C #485118 #18513D #201851
split-complementary
#51182C #185120 #184851
monochromatic
#18070D #220A12 #51182C #802646 #AF345F
Accessibility & contrast
On white
13.84
#51182C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#51182C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51182C
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51182C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51182C | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23262D
Deuteranopia (green-blind)
#32312B
Tritanopia (blue-blind)
#581120
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #51182c; /* rgb */ color: rgb(81, 24, 44); /* oklch */ color: oklch(30.7% 0.087 2.1);
Tailwind
colors: {
custom: {
50: '#855964',
500: '#51182c',
950: '#000000',
},
}SCSS
$custom: #51182c; $custom-light: #855964; $custom-dark: #000000;
JSON
{
"hex": "#51182c",
"rgb": {
"r": 81,
"g": 24,
"b": 44
},
"hsl": {
"h": 338.947,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30703,
"c": 0.08739,
"h": 2.1
},
"luminance": 0.02584
}Semantic roles & 50–950 ramp
primary
#51182C
secondary
#3D886E
accent
#DEAA4A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0405
muted
#7C797A