#310C0E#310C0E

#310C0E is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.9% C 0.060 H 20.4°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#310C0E
RGBrgb(49, 12, 14)
HSLhsl(357, 61%, 12%)
HSVhsv(357, 76%, 19%)
CMYKcmyk(0%, 75.5%, 71.4%, 80.8%)
CIE-LABlab(8.55, 18.97, 7.29)
CIE-LCHlch(8.55, 20.33, 21.03°)
OKLaboklab(21.9% 0.0564 0.021)
OKLCHoklch(21.9% 0.06 20.4)
XYZxyz(1.4775, 0.9478, 0.5205)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C0E #0C312F
analogous
#310C21 #310C0E #311D0C
triadic
#310C0E #0E310C #0C0E31
tetradic
#310C0E #21310C #0C312F #1D0C31
square
#310C0E #21310C #0C312F #1D0C31
split-complementary
#310C0E #0C311D #0C2131
monochromatic
#190607 #190607 #310C0E #62181C #93242A

Accessibility & contrast

On white

17.65
#310C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C0E
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C0E#FFFFFF#000000##FFFFFF
##310C0E1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15140E
Deuteranopia (green-blind)
#1F1B0D
Tritanopia (blue-blind)
#36050D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310c0e;
/* rgb */ color: rgb(49, 12, 14);
/* oklch */ color: oklch(21.9% 0.060 20.4);
Tailwind
colors: {
  custom: {
    50: '#6c4d4d',
    500: '#310c0e',
    950: '#000000',
  },
}
SCSS
$custom: #310c0e;
$custom-light: #6c4d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#310c0e",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 14
  },
  "hsl": {
    "h": 356.757,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21896,
    "c": 0.06018,
    "h": 20.4
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#310C0E
secondary
#2C6D69
accent
#E4DB44
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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