#310D13#310D13

#310D13 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.2% C 0.059 H 13.2°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#310D13
RGBrgb(49, 13, 19)
HSLhsl(350, 58%, 12%)
HSVhsv(350, 73%, 19%)
CMYKcmyk(0%, 73.5%, 61.2%, 80.8%)
CIE-LABlab(8.89, 18.91, 4.94)
CIE-LCHlch(8.89, 19.54, 14.65°)
OKLaboklab(22.2% 0.0571 0.0134)
OKLCHoklch(22.2% 0.059 13.2)
XYZxyz(1.5282, 0.9880, 0.7262)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D13 #0D312B
analogous
#310D25 #310D13 #31190D
triadic
#310D13 #13310D #0D1331
tetradic
#310D13 #25310D #0D312B #190D31
square
#310D13 #25310D #0D312B #190D31
split-complementary
#310D13 #0D3119 #0D2531
monochromatic
#180609 #180609 #310D13 #611A26 #922739

Accessibility & contrast

On white

17.54
#310D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310D13
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D13#FFFFFF#000000##FFFFFF
##310D131.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310d13;
/* rgb */ color: rgb(49, 13, 19);
/* oklch */ color: oklch(22.2% 0.059 13.2);
Tailwind
colors: {
  custom: {
    50: '#6c4d50',
    500: '#310d13',
    950: '#000000',
  },
}
SCSS
$custom: #310d13;
$custom-light: #6c4d50;
$custom-dark: #000000;
JSON
{
  "hex": "#310d13",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 19
  },
  "hsl": {
    "h": 350,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22195,
    "c": 0.05865,
    "h": 13.2
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#310D13
secondary
#2E6C62
accent
#E1C747
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310D13

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

Preview Lab → · Contrast checker → · Palette generator →

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