#310A0A#310A0A

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

Color values

HEX#310A0A
RGBrgb(49, 10, 10)
HSLhsl(0, 66%, 12%)
HSVhsv(0, 80%, 19%)
CMYKcmyk(0%, 79.6%, 79.6%, 80.8%)
CIE-LABlab(8.06, 19.73, 8.40)
CIE-LCHlch(8.06, 21.45, 23.06°)
OKLaboklab(21.5% 0.0579 0.026)
OKLCHoklch(21.5% 0.063 24.2)
XYZxyz(1.4301, 0.8922, 0.3840)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A0A #0A3131
analogous
#310A1E #310A0A #311E0A
triadic
#310A0A #0A310A #0A0A31
tetradic
#310A0A #1E310A #0A3131 #1E0A31
square
#310A0A #1E310A #0A3131 #1E0A31
split-complementary
#310A0A #0A311E #0A1E31
monochromatic
#190505 #190505 #310A0A #641414 #971F1F

Accessibility & contrast

On white

17.82
#310A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310A0A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A0A#FFFFFF#000000##FFFFFF
##310A0A1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15120A
Deuteranopia (green-blind)
#1E1B09
Tritanopia (blue-blind)
#37030A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a0a;
/* rgb */ color: rgb(49, 10, 10);
/* oklch */ color: oklch(21.5% 0.063 24.2);
Tailwind
colors: {
  custom: {
    50: '#6c4c4b',
    500: '#310a0a',
    950: '#000000',
  },
}
SCSS
$custom: #310a0a;
$custom-light: #6c4c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310a0a",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 10
  },
  "hsl": {
    "h": 0,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.215,
    "c": 0.06342,
    "h": 24.2
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#310A0A
secondary
#296E6E
accent
#E9E93F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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