#310D10#310D10

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

Color values

HEX#310D10
RGBrgb(49, 13, 16)
HSLhsl(355, 58%, 12%)
HSVhsv(355, 73%, 19%)
CMYKcmyk(0%, 73.5%, 67.3%, 80.8%)
CIE-LABlab(8.81, 18.59, 6.61)
CIE-LCHlch(8.81, 19.73, 19.57°)
OKLaboklab(22.11% 0.0556 0.0184)
OKLCHoklch(22.11% 0.059 18.3)
XYZxyz(1.5042, 0.9784, 0.5998)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D10 #0D312E
analogous
#310D22 #310D10 #311C0D
triadic
#310D10 #10310D #0D1031
tetradic
#310D10 #22310D #0D312E #1C0D31
square
#310D10 #22310D #0D312E #1C0D31
split-complementary
#310D10 #0D311C #0D2231
monochromatic
#180608 #180608 #310D10 #611A20 #922730

Accessibility & contrast

On white

17.56
#310D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D10
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D10#FFFFFF#000000##FFFFFF
##310D101.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161410
Deuteranopia (green-blind)
#1F1C0F
Tritanopia (blue-blind)
#36070E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d10;
/* rgb */ color: rgb(49, 13, 16);
/* oklch */ color: oklch(22.1% 0.059 18.3);
Tailwind
colors: {
  custom: {
    50: '#6c4d4e',
    500: '#310d10',
    950: '#000000',
  },
}
SCSS
$custom: #310d10;
$custom-light: #6c4d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#310d10",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 16
  },
  "hsl": {
    "h": 355,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22108,
    "c": 0.05858,
    "h": 18.3
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#310D10
secondary
#2E6C67
accent
#E1D447
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #310D10

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

Preview Lab → · Contrast checker → · Palette generator →

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