#310C14#310C14

#310C14 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.1% C 0.060 H 10.4°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#310C14
RGBrgb(49, 12, 20)
HSLhsl(347, 61%, 12%)
HSVhsv(347, 76%, 19%)
CMYKcmyk(0%, 75.5%, 59.2%, 80.8%)
CIE-LABlab(8.71, 19.59, 4.03)
CIE-LCHlch(8.71, 20.00, 11.63°)
OKLaboklab(22.07% 0.0594 0.0109)
OKLCHoklch(22.07% 0.06 10.4)
XYZxyz(1.5245, 0.9666, 0.7680)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C14 #0C3129
analogous
#310C27 #310C14 #31170C
triadic
#310C14 #14310C #0C1431
tetradic
#310C14 #27310C #0C3129 #170C31
square
#310C14 #27310C #0C3129 #170C31
split-complementary
#310C14 #0C3117 #0C2731
monochromatic
#19060A #19060A #310C14 #621828 #93243C

Accessibility & contrast

On white

17.60
#310C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310C14
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C14#FFFFFF#000000##FFFFFF
##310C141.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141414
Deuteranopia (green-blind)
#1E1C13
Tritanopia (blue-blind)
#36070F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310c14;
/* rgb */ color: rgb(49, 12, 20);
/* oklch */ color: oklch(22.1% 0.060 10.4);
Tailwind
colors: {
  custom: {
    50: '#6c4d51',
    500: '#310c14',
    950: '#000000',
  },
}
SCSS
$custom: #310c14;
$custom-light: #6c4d51;
$custom-dark: #000000;
JSON
{
  "hex": "#310c14",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 20
  },
  "hsl": {
    "h": 347.027,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22069,
    "c": 0.06038,
    "h": 10.4
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#310C14
secondary
#2C6D5F
accent
#E4C144
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310C14

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

Preview Lab → · Contrast checker → · Palette generator →

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