#310B0D#310B0D

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

Color values

HEX#310B0D
RGBrgb(49, 11, 13)
HSLhsl(357, 63%, 12%)
HSVhsv(357, 78%, 19%)
CMYKcmyk(0%, 77.6%, 73.5%, 80.8%)
CIE-LABlab(8.32, 19.44, 7.46)
CIE-LCHlch(8.32, 20.82, 20.99°)
OKLaboklab(21.72% 0.0576 0.022)
OKLCHoklch(21.72% 0.062 20.9)
XYZxyz(1.4591, 0.9216, 0.4817)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B0D #0B312F
analogous
#310B20 #310B0D #311C0B
triadic
#310B0D #0D310B #0B0D31
tetradic
#310B0D #20310B #0B312F #1C0B31
square
#310B0D #20310B #0B312F #1C0B31
split-complementary
#310B0D #0B311C #0B2031
monochromatic
#190607 #190607 #310B0D #63161A #952128

Accessibility & contrast

On white

17.73
#310B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B0D
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B0D#FFFFFF#000000##FFFFFF
##310B0D1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130D
Deuteranopia (green-blind)
#1E1B0C
Tritanopia (blue-blind)
#37040C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b0d;
/* rgb */ color: rgb(49, 11, 13);
/* oklch */ color: oklch(21.7% 0.062 20.9);
Tailwind
colors: {
  custom: {
    50: '#6c4c4c',
    500: '#310b0d',
    950: '#000000',
  },
}
SCSS
$custom: #310b0d;
$custom-light: #6c4c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#310b0d",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 13
  },
  "hsl": {
    "h": 356.842,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21717,
    "c": 0.06169,
    "h": 20.9
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#310B0D
secondary
#2A6E6A
accent
#E6DE41
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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