#310E18#310E18
#310E18 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.5% C 0.058 H 5.2°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).
Color values
| HEX | #310E18 |
|---|---|
| RGB | rgb(49, 14, 24) |
| HSL | hsl(343, 56%, 12%) |
| HSV | hsv(343, 71%, 19%) |
| CMYK | cmyk(0%, 71.4%, 51%, 80.8%) |
| CIE-LAB | lab(9.27, 18.94, 1.96) |
| CIE-LCH | lch(9.27, 19.04, 5.92°) |
| OKLab | oklab(22.53% 0.0577 0.0053) |
| OKLCH | oklch(22.53% 0.058 5.2) |
| XYZ | xyz(1.5886, 1.0332, 0.9797) |
| Luminance | 0.0103 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.06
Very Dark Brown
#1D0200
ΔE00 8.23
Dark Plum
#3F012C
ΔE00 9.64
Deep Brown
#410200
ΔE00 9.68
Aubergine
#3D0734
ΔE00 11.14
Burgundy (survey)
#610023
ΔE00 11.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310E18 #0E3127
analogous
#310E2A #310E18 #31150E
triadic
#310E18 #18310E #0E1831
tetradic
#310E18 #2A310E #0E3127 #150E31
square
#310E18 #2A310E #0E3127 #150E31
split-complementary
#310E18 #0E3115 #0E2A31
monochromatic
#18070C #18070C #310E18 #611C2F #902947
Accessibility & contrast
On white
17.40
#310E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#310E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310E18
17.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310E18 | 1.00 | 17.40 | 1.21 | 17.40 |
| #FFFFFF | 17.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151618
Deuteranopia (green-blind)
#1E1D17
Tritanopia (blue-blind)
#360A12
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #310e18; /* rgb */ color: rgb(49, 14, 24); /* oklch */ color: oklch(22.5% 0.058 5.2);
Tailwind
colors: {
custom: {
50: '#6b4e54',
500: '#310e18',
950: '#000000',
},
}SCSS
$custom: #310e18; $custom-light: #6b4e54; $custom-dark: #000000;
JSON
{
"hex": "#310e18",
"rgb": {
"r": 49,
"g": 14,
"b": 24
},
"hsl": {
"h": 342.857,
"s": 55.556,
"l": 12.353
},
"oklch": {
"l": 0.22525,
"c": 0.05794,
"h": 5.2
},
"luminance": 0.01033
}Semantic roles & 50–950 ramp
primary
#310E18
secondary
#2F6C5A
accent
#DFB449
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878