#310C09#310C09

#310C09 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.8% C 0.061 H 27.9°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#310C09
RGBrgb(49, 12, 9)
HSLhsl(5, 69%, 11%)
HSVhsv(5, 82%, 19%)
CMYKcmyk(0%, 75.5%, 81.6%, 80.8%)
CIE-LABlab(8.44, 18.57, 9.37)
CIE-LCHlch(8.44, 20.80, 26.78°)
OKLaboklab(21.78% 0.0539 0.0285)
OKLCHoklch(21.78% 0.061 27.9)
XYZxyz(1.4475, 0.9358, 0.3628)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C09 #092E31
analogous
#31091A #310C09 #312009
triadic
#310C09 #09310C #0C0931
tetradic
#310C09 #1A3109 #092E31 #200931
square
#310C09 #1A3109 #092E31 #200931
split-complementary
#310C09 #093120 #091A31
monochromatic
#1A0605 #1A0605 #310C09 #651912 #98251C

Accessibility & contrast

On white

17.69
#310C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C09
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C09#FFFFFF#000000##FFFFFF
##310C091.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161308
Deuteranopia (green-blind)
#1F1B08
Tritanopia (blue-blind)
#37050C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310c09;
/* rgb */ color: rgb(49, 12, 9);
/* oklch */ color: oklch(21.8% 0.061 27.9);
Tailwind
colors: {
  custom: {
    50: '#6c4d4b',
    500: '#310c09',
    950: '#000000',
  },
}
SCSS
$custom: #310c09;
$custom-light: #6c4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310c09",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 9
  },
  "hsl": {
    "h": 4.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21784,
    "c": 0.06101,
    "h": 27.9
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#310C09
secondary
#276A6F
accent
#DFEC3C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310C09

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

Preview Lab → · Contrast checker → · Palette generator →

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