#310D08#310D08

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

Color values

HEX#310D08
RGBrgb(49, 13, 8)
HSLhsl(7, 72%, 11%)
HSVhsv(7, 84%, 19%)
CMYKcmyk(0%, 73.5%, 83.7%, 80.8%)
CIE-LABlab(8.64, 17.92, 10.06)
CIE-LCHlch(8.64, 20.56, 29.31°)
OKLaboklab(21.93% 0.0516 0.0306)
OKLCHoklch(21.93% 0.06 30.6)
XYZxyz(1.4545, 0.9585, 0.3381)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D08 #082C31
analogous
#310817 #310D08 #312108
triadic
#310D08 #08310D #0D0831
tetradic
#310D08 #173108 #082C31 #210831
square
#310D08 #173108 #082C31 #210831
split-complementary
#310D08 #083121 #081731
monochromatic
#1A0704 #1A0704 #310D08 #661B11 #9A2919

Accessibility & contrast

On white

17.62
#310D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D08
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D08#FFFFFF#000000##FFFFFF
##310D081.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310d08;
/* rgb */ color: rgb(49, 13, 8);
/* oklch */ color: oklch(21.9% 0.060 30.6);
Tailwind
colors: {
  custom: {
    50: '#6c4d4a',
    500: '#310d08',
    950: '#000000',
  },
}
SCSS
$custom: #310d08;
$custom-light: #6c4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310d08",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 8
  },
  "hsl": {
    "h": 7.317,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21926,
    "c": 0.05999,
    "h": 30.6
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#310D08
secondary
#256770
accent
#D9EF39
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310D08

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

Preview Lab → · Contrast checker → · Palette generator →

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