#310C10#310C10

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

Color values

HEX#310C10
RGBrgb(49, 12, 16)
HSLhsl(354, 61%, 12%)
HSVhsv(354, 76%, 19%)
CMYKcmyk(0%, 75.5%, 67.3%, 80.8%)
CIE-LABlab(8.60, 19.16, 6.30)
CIE-LCHlch(8.60, 20.17, 18.21°)
OKLaboklab(21.95% 0.0574 0.0178)
OKLCHoklch(21.95% 0.06 17.2)
XYZxyz(1.4918, 0.9535, 0.5956)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C10 #0C312D
analogous
#310C23 #310C10 #311B0C
triadic
#310C10 #10310C #0C1031
tetradic
#310C10 #23310C #0C312D #1B0C31
square
#310C10 #23310C #0C312D #1B0C31
split-complementary
#310C10 #0C311B #0C2331
monochromatic
#190608 #190608 #310C10 #621820 #932430

Accessibility & contrast

On white

17.64
#310C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C10
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C10#FFFFFF#000000##FFFFFF
##310C101.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151410
Deuteranopia (green-blind)
#1E1C0F
Tritanopia (blue-blind)
#36060E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310c10;
/* rgb */ color: rgb(49, 12, 16);
/* oklch */ color: oklch(21.9% 0.060 17.2);
Tailwind
colors: {
  custom: {
    50: '#6c4d4e',
    500: '#310c10',
    950: '#000000',
  },
}
SCSS
$custom: #310c10;
$custom-light: #6c4d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#310c10",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 16
  },
  "hsl": {
    "h": 353.514,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21948,
    "c": 0.06009,
    "h": 17.2
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#310C10
secondary
#2C6D66
accent
#E4D344
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310C10

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

Preview Lab → · Contrast checker → · Palette generator →

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