#310E17#310E17
#310E17 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.5% C 0.058 H 7.0°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).
Color values
| HEX | #310E17 |
|---|---|
| RGB | rgb(49, 14, 23) |
| HSL | hsl(345, 56%, 12%) |
| HSV | hsv(345, 71%, 19%) |
| CMYK | cmyk(0%, 71.4%, 53.1%, 80.8%) |
| CIE-LAB | lab(9.23, 18.81, 2.67) |
| CIE-LCH | lch(9.23, 19.00, 8.08°) |
| OKLab | oklab(22.49% 0.0572 0.0071) |
| OKLCH | oklch(22.49% 0.058 7) |
| XYZ | xyz(1.5784, 1.0291, 0.9260) |
| Luminance | 0.0103 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.76
Very Dark Brown
#1D0200
ΔE00 8.03
Deep Brown
#410200
ΔE00 9.27
Dark Plum
#3F012C
ΔE00 10.08
Mahogany
#4A0100
ΔE00 11.34
Dried Blood
#4B0101
ΔE00 11.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310E17 #0E3128
analogous
#310E29 #310E17 #31160E
triadic
#310E17 #17310E #0E1731
tetradic
#310E17 #29310E #0E3128 #160E31
square
#310E17 #29310E #0E3128 #160E31
split-complementary
#310E17 #0E3116 #0E2931
monochromatic
#18070B #18070B #310E17 #611C2D #902944
Accessibility & contrast
On white
17.42
#310E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#310E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310E17
17.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310E17 | 1.00 | 17.42 | 1.21 | 17.42 |
| #FFFFFF | 17.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#151617
Deuteranopia (green-blind)
#1E1D16
Tritanopia (blue-blind)
#360A11
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #310e17; /* rgb */ color: rgb(49, 14, 23); /* oklch */ color: oklch(22.5% 0.058 7.0);
Tailwind
colors: {
custom: {
50: '#6b4e53',
500: '#310e17',
950: '#000000',
},
}SCSS
$custom: #310e17; $custom-light: #6b4e53; $custom-dark: #000000;
JSON
{
"hex": "#310e17",
"rgb": {
"r": 49,
"g": 14,
"b": 23
},
"hsl": {
"h": 344.571,
"s": 55.556,
"l": 12.353
},
"oklch": {
"l": 0.22489,
"c": 0.05766,
"h": 7
},
"luminance": 0.01029
}Semantic roles & 50–950 ramp
primary
#310E17
secondary
#2F6C5C
accent
#DFB849
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878