#310A10#310A10

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

Color values

HEX#310A10
RGBrgb(49, 10, 16)
HSLhsl(351, 66%, 12%)
HSVhsv(351, 80%, 19%)
CMYKcmyk(0%, 79.6%, 67.3%, 80.8%)
CIE-LABlab(8.20, 20.24, 5.72)
CIE-LCHlch(8.20, 21.03, 15.79°)
OKLaboklab(21.65% 0.0608 0.0165)
OKLCHoklch(21.65% 0.063 15.2)
XYZxyz(1.4688, 0.9077, 0.5880)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A10 #0A312B
analogous
#310A24 #310A10 #31180A
triadic
#310A10 #10310A #0A1031
tetradic
#310A10 #24310A #0A312B #180A31
square
#310A10 #24310A #0A312B #180A31
split-complementary
#310A10 #0A3118 #0A2431
monochromatic
#190508 #190508 #310A10 #641421 #971F31

Accessibility & contrast

On white

17.78
#310A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A10
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A10#FFFFFF#000000##FFFFFF
##310A101.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141310
Deuteranopia (green-blind)
#1E1B0F
Tritanopia (blue-blind)
#36040C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a10;
/* rgb */ color: rgb(49, 10, 16);
/* oklch */ color: oklch(21.6% 0.063 15.2);
Tailwind
colors: {
  custom: {
    50: '#6c4c4e',
    500: '#310a10',
    950: '#000000',
  },
}
SCSS
$custom: #310a10;
$custom-light: #6c4c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#310a10",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 16
  },
  "hsl": {
    "h": 350.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21649,
    "c": 0.06304,
    "h": 15.2
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#310A10
secondary
#296E64
accent
#E9CF3F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310A10

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

Preview Lab → · Contrast checker → · Palette generator →

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