#310A0D#310A0D

#310A0D is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.6% C 0.063 H 19.8°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#310A0D
RGBrgb(49, 10, 13)
HSLhsl(355, 66%, 12%)
HSVhsv(355, 80%, 19%)
CMYKcmyk(0%, 79.6%, 73.5%, 80.8%)
CIE-LABlab(8.12, 19.97, 7.17)
CIE-LCHlch(8.12, 21.22, 19.74°)
OKLaboklab(21.57% 0.0593 0.0214)
OKLCHoklch(21.57% 0.063 19.8)
XYZxyz(1.4480, 0.8993, 0.4780)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A0D #0A312E
analogous
#310A21 #310A0D #311B0A
triadic
#310A0D #0D310A #0A0D31
tetradic
#310A0D #21310A #0A312E #1B0A31
square
#310A0D #21310A #0A312E #1B0A31
split-complementary
#310A0D #0A311B #0A2131
monochromatic
#190507 #190507 #310A0D #64141A #971F28

Accessibility & contrast

On white

17.80
#310A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A0D
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A0D#FFFFFF#000000##FFFFFF
##310A0D1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14130D
Deuteranopia (green-blind)
#1E1B0C
Tritanopia (blue-blind)
#37030B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a0d;
/* rgb */ color: rgb(49, 10, 13);
/* oklch */ color: oklch(21.6% 0.063 19.8);
Tailwind
colors: {
  custom: {
    50: '#6c4c4c',
    500: '#310a0d',
    950: '#000000',
  },
}
SCSS
$custom: #310a0d;
$custom-light: #6c4c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#310a0d",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 13
  },
  "hsl": {
    "h": 355.385,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21569,
    "c": 0.06308,
    "h": 19.8
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#310A0D
secondary
#296E69
accent
#E9DC3F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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