#310D09#310D09

#310D09 is a very dark, muted red. Relative luminance 0.010; OKLCH L 21.9% C 0.060 H 29.2°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#310D09
RGBrgb(49, 13, 9)
HSLhsl(6, 69%, 11%)
HSVhsv(6, 82%, 19%)
CMYKcmyk(0%, 73.5%, 81.6%, 80.8%)
CIE-LABlab(8.66, 18.00, 9.68)
CIE-LCHlch(8.66, 20.44, 28.27°)
OKLaboklab(21.95% 0.0521 0.0291)
OKLCHoklch(21.95% 0.06 29.2)
XYZxyz(1.4600, 0.9607, 0.3670)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D09 #092D31
analogous
#310919 #310D09 #312109
triadic
#310D09 #09310D #0D0931
tetradic
#310D09 #193109 #092D31 #210931
square
#310D09 #193109 #092D31 #210931
split-complementary
#310D09 #093121 #091931
monochromatic
#1A0705 #1A0705 #310D09 #651B12 #98281C

Accessibility & contrast

On white

17.61
#310D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D09
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D09#FFFFFF#000000##FFFFFF
##310D091.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171408
Deuteranopia (green-blind)
#201C08
Tritanopia (blue-blind)
#37060C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d09;
/* rgb */ color: rgb(49, 13, 9);
/* oklch */ color: oklch(21.9% 0.060 29.2);
Tailwind
colors: {
  custom: {
    50: '#6c4d4b',
    500: '#310d09',
    950: '#000000',
  },
}
SCSS
$custom: #310d09;
$custom-light: #6c4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310d09",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 9
  },
  "hsl": {
    "h": 6,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21946,
    "c": 0.05971,
    "h": 29.2
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#310D09
secondary
#27686F
accent
#DAEC3C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310D09

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

Preview Lab → · Contrast checker → · Palette generator →

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