#310E08#310E08

#310E08 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.1% C 0.059 H 32.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#310E08
RGBrgb(49, 14, 8)
HSLhsl(9, 72%, 11%)
HSVhsv(9, 84%, 19%)
CMYKcmyk(0%, 71.4%, 83.7%, 80.8%)
CIE-LABlab(8.86, 17.33, 10.38)
CIE-LCHlch(8.86, 20.21, 30.92°)
OKLaboklab(22.09% 0.0498 0.0311)
OKLCHoklch(22.09% 0.059 32)
XYZxyz(1.4676, 0.9848, 0.3425)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E08 #082B31
analogous
#310816 #310E08 #312208
triadic
#310E08 #08310E #0E0831
tetradic
#310E08 #163108 #082B31 #220831
square
#310E08 #163108 #082B31 #220831
split-complementary
#310E08 #083122 #081631
monochromatic
#1A0804 #1A0804 #310E08 #661D11 #9A2C19

Accessibility & contrast

On white

17.54
#310E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E08
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E08#FFFFFF#000000##FFFFFF
##310E081.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310e08;
/* rgb */ color: rgb(49, 14, 8);
/* oklch */ color: oklch(22.1% 0.059 32.0);
Tailwind
colors: {
  custom: {
    50: '#6c4e4a',
    500: '#310e08',
    950: '#000000',
  },
}
SCSS
$custom: #310e08;
$custom-light: #6c4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#310e08",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 8
  },
  "hsl": {
    "h": 8.78,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22094,
    "c": 0.05872,
    "h": 32
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#310E08
secondary
#256570
accent
#D4EF39
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310E08

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

Preview Lab → · Contrast checker → · Palette generator →

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