#310F18#310F18
#310F18 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.7% C 0.056 H 6.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).
Color values
| HEX | #310F18 |
|---|---|
| RGB | rgb(49, 15, 24) |
| HSL | hsl(344, 53%, 13%) |
| HSV | hsv(344, 69%, 19%) |
| CMYK | cmyk(0%, 69.4%, 51%, 80.8%) |
| CIE-LAB | lab(9.49, 18.35, 2.28) |
| CIE-LCH | lch(9.49, 18.49, 7.08°) |
| OKLab | oklab(22.69% 0.0558 0.0061) |
| OKLCH | oklch(22.69% 0.056 6.2) |
| XYZ | xyz(1.6024, 1.0607, 0.9843) |
| Luminance | 0.0106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.14
Very Dark Brown
#1D0200
ΔE00 7.94
Deep Brown
#410200
ΔE00 9.60
Dark Plum
#3F012C
ΔE00 10.03
Aubergine
#3D0734
ΔE00 11.48
Mahogany
#4A0100
ΔE00 11.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310F18 #0F3128
analogous
#310F29 #310F18 #31170F
triadic
#310F18 #18310F #0F1831
tetradic
#310F18 #29310F #0F3128 #170F31
square
#310F18 #29310F #0F3128 #170F31
split-complementary
#310F18 #0F3117 #0F2931
monochromatic
#17070B #17070B #310F18 #601D2F #8F2C46
Accessibility & contrast
On white
17.32
#310F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#310F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310F18
17.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310F18 | 1.00 | 17.32 | 1.21 | 17.32 |
| #FFFFFF | 17.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#161618
Deuteranopia (green-blind)
#1E1D17
Tritanopia (blue-blind)
#360B12
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #310f18; /* rgb */ color: rgb(49, 15, 24); /* oklch */ color: oklch(22.7% 0.056 6.2);
Tailwind
colors: {
custom: {
50: '#6b4f54',
500: '#310f18',
950: '#000000',
},
}SCSS
$custom: #310f18; $custom-light: #6b4f54; $custom-dark: #000000;
JSON
{
"hex": "#310f18",
"rgb": {
"r": 49,
"g": 15,
"b": 24
},
"hsl": {
"h": 344.118,
"s": 53.125,
"l": 12.549
},
"oklch": {
"l": 0.22692,
"c": 0.05617,
"h": 6.2
},
"luminance": 0.01061
}Semantic roles & 50–950 ramp
primary
#310F18
secondary
#316B5C
accent
#DDB64B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878