#310E12#310E12

#310E12 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.3% C 0.057 H 16.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#310E12
RGBrgb(49, 14, 18)
HSLhsl(353, 56%, 12%)
HSVhsv(353, 71%, 19%)
CMYKcmyk(0%, 71.4%, 63.3%, 80.8%)
CIE-LABlab(9.08, 18.22, 5.84)
CIE-LCHlch(9.08, 19.13, 17.77°)
OKLaboklab(22.33% 0.0548 0.0158)
OKLCHoklch(22.33% 0.057 16.1)
XYZxyz(1.5330, 1.0109, 0.6865)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E12 #0E312D
analogous
#310E24 #310E12 #311C0E
triadic
#310E12 #12310E #0E1231
tetradic
#310E12 #24310E #0E312D #1C0E31
square
#310E12 #24310E #0E312D #1C0E31
split-complementary
#310E12 #0E311C #0E2431
monochromatic
#180709 #180709 #310E12 #611C23 #902935

Accessibility & contrast

On white

17.47
#310E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E12
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E12#FFFFFF#000000##FFFFFF
##310E121.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161512
Deuteranopia (green-blind)
#1F1C11
Tritanopia (blue-blind)
#360810
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310e12;
/* rgb */ color: rgb(49, 14, 18);
/* oklch */ color: oklch(22.3% 0.057 16.1);
Tailwind
colors: {
  custom: {
    50: '#6c4e4f',
    500: '#310e12',
    950: '#000000',
  },
}
SCSS
$custom: #310e12;
$custom-light: #6c4e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#310e12",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 18
  },
  "hsl": {
    "h": 353.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22329,
    "c": 0.057,
    "h": 16.1
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#310E12
secondary
#2F6C65
accent
#DFCE49
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310E12

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#310E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva