#310A11#310A11

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

Color values

HEX#310A11
RGBrgb(49, 10, 17)
HSLhsl(349, 66%, 12%)
HSVhsv(349, 80%, 19%)
CMYKcmyk(0%, 79.6%, 65.3%, 80.8%)
CIE-LABlab(8.22, 20.34, 5.19)
CIE-LCHlch(8.22, 21.00, 14.32°)
OKLaboklab(21.68% 0.0613 0.0148)
OKLCHoklch(21.68% 0.063 13.6)
XYZxyz(1.4765, 0.9107, 0.6282)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A11 #0A312A
analogous
#310A25 #310A11 #31170A
triadic
#310A11 #11310A #0A1131
tetradic
#310A11 #25310A #0A312A #170A31
square
#310A11 #25310A #0A312A #170A31
split-complementary
#310A11 #0A3117 #0A2531
monochromatic
#190509 #190509 #310A11 #641423 #971F34

Accessibility & contrast

On white

17.76
#310A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A11
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A11#FFFFFF#000000##FFFFFF
##310A111.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131311
Deuteranopia (green-blind)
#1D1B10
Tritanopia (blue-blind)
#36040D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a11;
/* rgb */ color: rgb(49, 10, 17);
/* oklch */ color: oklch(21.7% 0.063 13.6);
Tailwind
colors: {
  custom: {
    50: '#6c4c4f',
    500: '#310a11',
    950: '#000000',
  },
}
SCSS
$custom: #310a11;
$custom-light: #6c4c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#310a11",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 17
  },
  "hsl": {
    "h": 349.231,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21678,
    "c": 0.0631,
    "h": 13.6
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#310A11
secondary
#296E62
accent
#E9CA3F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310A11

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

Preview Lab → · Contrast checker → · Palette generator →

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