#310B18#310B18
#310B18 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.1% C 0.063 H 2.7°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).
Color values
| HEX | #310B18 |
|---|---|
| RGB | rgb(49, 11, 24) |
| HSL | hsl(339, 63%, 12%) |
| HSV | hsv(339, 78%, 19%) |
| CMYK | cmyk(0%, 77.6%, 51%, 80.8%) |
| CIE-LAB | lab(8.64, 20.62, 1.06) |
| CIE-LCH | lch(8.64, 20.65, 2.94°) |
| OKLab | oklab(22.06% 0.063 0.003) |
| OKLCH | oklch(22.06% 0.063 2.7) |
| XYZ | xyz(1.5513, 0.9584, 0.9673) |
| Luminance | 0.0096 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Maroon
#3C0008
ΔE00 7.01
Dark Plum
#3F012C
ΔE00 8.61
Very Dark Brown
#1D0200
ΔE00 9.09
Deep Brown
#410200
ΔE00 10.02
Aubergine
#3D0734
ΔE00 10.25
Eggplant
#380835
ΔE00 10.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#310B18 #0B3124
analogous
#310B2B #310B18 #31110B
triadic
#310B18 #18310B #0B1831
tetradic
#310B18 #2B310B #0B3124 #110B31
square
#310B18 #2B310B #0B3124 #110B31
split-complementary
#310B18 #0B3111 #0B2B31
monochromatic
#19060C #19060C #310B18 #631630 #952149
Accessibility & contrast
On white
17.62
#310B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#310B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #310B18
17.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##310B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##310B18 | 1.00 | 17.62 | 1.19 | 17.62 |
| #FFFFFF | 17.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#131418
Deuteranopia (green-blind)
#1D1C17
Tritanopia (blue-blind)
#360710
Achromatopsia (no color)
#191919
Design tokens & code
CSS
--color: #310b18; /* rgb */ color: rgb(49, 11, 24); /* oklch */ color: oklch(22.1% 0.063 2.7);
Tailwind
colors: {
custom: {
50: '#6c4c54',
500: '#310b18',
950: '#000000',
},
}SCSS
$custom: #310b18; $custom-light: #6c4c54; $custom-dark: #000000;
JSON
{
"hex": "#310b18",
"rgb": {
"r": 49,
"g": 11,
"b": 24
},
"hsl": {
"h": 339.474,
"s": 63.333,
"l": 11.765
},
"oklch": {
"l": 0.2206,
"c": 0.06307,
"h": 2.7
},
"luminance": 0.00958
}Semantic roles & 50–950 ramp
primary
#310B18
secondary
#2A6E57
accent
#E6AE41
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778