#310C13#310C13

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

Color values

HEX#310C13
RGBrgb(49, 12, 19)
HSLhsl(349, 61%, 12%)
HSVhsv(349, 76%, 19%)
CMYKcmyk(0%, 75.5%, 61.2%, 80.8%)
CIE-LABlab(8.68, 19.48, 4.64)
CIE-LCHlch(8.68, 20.02, 13.40°)
OKLaboklab(22.04% 0.0589 0.0127)
OKLCHoklch(22.04% 0.06 12.1)
XYZxyz(1.5158, 0.9631, 0.7220)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C13 #0C312A
analogous
#310C26 #310C13 #31180C
triadic
#310C13 #13310C #0C1331
tetradic
#310C13 #26310C #0C312A #180C31
square
#310C13 #26310C #0C312A #180C31
split-complementary
#310C13 #0C3118 #0C2631
monochromatic
#19060A #19060A #310C13 #621826 #932439

Accessibility & contrast

On white

17.61
#310C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310C13
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C13#FFFFFF#000000##FFFFFF
##310C131.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310c13;
/* rgb */ color: rgb(49, 12, 19);
/* oklch */ color: oklch(22.0% 0.060 12.1);
Tailwind
colors: {
  custom: {
    50: '#6c4d50',
    500: '#310c13',
    950: '#000000',
  },
}
SCSS
$custom: #310c13;
$custom-light: #6c4d50;
$custom-dark: #000000;
JSON
{
  "hex": "#310c13",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 19
  },
  "hsl": {
    "h": 348.649,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22037,
    "c": 0.06025,
    "h": 12.1
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#310C13
secondary
#2C6D61
accent
#E4C644
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310C13

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

Preview Lab → · Contrast checker → · Palette generator →

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