#310B0E#310B0E

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

Color values

HEX#310B0E
RGBrgb(49, 11, 14)
HSLhsl(355, 63%, 12%)
HSVhsv(355, 78%, 19%)
CMYKcmyk(0%, 77.6%, 71.4%, 80.8%)
CIE-LABlab(8.34, 19.52, 7.00)
CIE-LCHlch(8.34, 20.74, 19.71°)
OKLaboklab(21.74% 0.0581 0.0204)
OKLCHoklch(21.74% 0.062 19.3)
XYZxyz(1.4657, 0.9242, 0.5166)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B0E #0B312E
analogous
#310B21 #310B0E #311B0B
triadic
#310B0E #0E310B #0B0E31
tetradic
#310B0E #21310B #0B312E #1B0B31
square
#310B0E #21310B #0B312E #1B0B31
split-complementary
#310B0E #0B311B #0B2131
monochromatic
#190607 #190607 #310B0E #63161C #95212B

Accessibility & contrast

On white

17.72
#310B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310B0E
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B0E#FFFFFF#000000##FFFFFF
##310B0E1.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130E
Deuteranopia (green-blind)
#1E1B0D
Tritanopia (blue-blind)
#36040C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310b0e;
/* rgb */ color: rgb(49, 11, 14);
/* oklch */ color: oklch(21.7% 0.062 19.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c4d',
    500: '#310b0e',
    950: '#000000',
  },
}
SCSS
$custom: #310b0e;
$custom-light: #6c4c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#310b0e",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 14
  },
  "hsl": {
    "h": 355.263,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21742,
    "c": 0.06162,
    "h": 19.3
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#310B0E
secondary
#2A6E68
accent
#E6D941
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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