#310A0E#310A0E

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

Color values

HEX#310A0E
RGBrgb(49, 10, 14)
HSLhsl(354, 66%, 12%)
HSVhsv(354, 80%, 19%)
CMYKcmyk(0%, 79.6%, 71.4%, 80.8%)
CIE-LABlab(8.15, 20.06, 6.71)
CIE-LCHlch(8.15, 21.15, 18.50°)
OKLaboklab(21.59% 0.0598 0.0198)
OKLCHoklch(21.59% 0.063 18.3)
XYZxyz(1.4546, 0.9020, 0.5129)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A0E #0A312D
analogous
#310A22 #310A0E #311A0A
triadic
#310A0E #0E310A #0A0E31
tetradic
#310A0E #22310A #0A312D #1A0A31
square
#310A0E #22310A #0A312D #1A0A31
split-complementary
#310A0E #0A311A #0A2231
monochromatic
#190507 #190507 #310A0E #64141D #971F2B

Accessibility & contrast

On white

17.79
#310A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A0E
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A0E#FFFFFF#000000##FFFFFF
##310A0E1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14130E
Deuteranopia (green-blind)
#1E1B0D
Tritanopia (blue-blind)
#36040C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a0e;
/* rgb */ color: rgb(49, 10, 14);
/* oklch */ color: oklch(21.6% 0.063 18.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c4d',
    500: '#310a0e',
    950: '#000000',
  },
}
SCSS
$custom: #310a0e;
$custom-light: #6c4c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#310a0e",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 14
  },
  "hsl": {
    "h": 353.846,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21594,
    "c": 0.06303,
    "h": 18.3
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#310A0E
secondary
#296E67
accent
#E9D83F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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