#310B0A#310B0A

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

Color values

HEX#310B0A
RGBrgb(49, 11, 10)
HSLhsl(2, 66%, 12%)
HSVhsv(2, 80%, 19%)
CMYKcmyk(0%, 77.6%, 79.6%, 80.8%)
CIE-LABlab(8.26, 19.20, 8.69)
CIE-LCHlch(8.26, 21.08, 24.35°)
OKLaboklab(21.65% 0.0562 0.0265)
OKLCHoklch(21.65% 0.062 25.3)
XYZxyz(1.4412, 0.9144, 0.3877)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B0A #0A3031
analogous
#310A1D #310B0A #311F0A
triadic
#310B0A #0A310B #0B0A31
tetradic
#310B0A #1D310A #0A3031 #1F0A31
square
#310B0A #1D310A #0A3031 #1F0A31
split-complementary
#310B0A #0A311F #0A1D31
monochromatic
#190605 #190605 #310B0A #641614 #97221F

Accessibility & contrast

On white

17.75
#310B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B0A
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B0A#FFFFFF#000000##FFFFFF
##310B0A1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130A
Deuteranopia (green-blind)
#1F1B09
Tritanopia (blue-blind)
#37040B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b0a;
/* rgb */ color: rgb(49, 11, 10);
/* oklch */ color: oklch(21.6% 0.062 25.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c4b',
    500: '#310b0a',
    950: '#000000',
  },
}
SCSS
$custom: #310b0a;
$custom-light: #6c4c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#310b0a",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 10
  },
  "hsl": {
    "h": 1.538,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21649,
    "c": 0.06211,
    "h": 25.3
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#310B0A
secondary
#296D6E
accent
#E5E93F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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