#310D16#310D16

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

Color values

HEX#310D16
RGBrgb(49, 13, 22)
HSLhsl(345, 58%, 12%)
HSVhsv(345, 73%, 19%)
CMYKcmyk(0%, 73.5%, 55.1%, 80.8%)
CIE-LABlab(8.98, 19.26, 3.05)
CIE-LCHlch(8.98, 19.50, 8.98°)
OKLaboklab(22.29% 0.0586 0.0081)
OKLCHoklch(22.29% 0.059 7.9)
XYZxyz(1.5555, 0.9989, 0.8698)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D16 #0D3128
analogous
#310D28 #310D16 #31160D
triadic
#310D16 #16310D #0D1631
tetradic
#310D16 #28310D #0D3128 #160D31
square
#310D16 #28310D #0D3128 #160D31
split-complementary
#310D16 #0D3116 #0D2831
monochromatic
#18060B #18060B #310D16 #611A2C #922741

Accessibility & contrast

On white

17.50
#310D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D16
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D16#FFFFFF#000000##FFFFFF
##310D161.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151516
Deuteranopia (green-blind)
#1E1C15
Tritanopia (blue-blind)
#360810
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310d16;
/* rgb */ color: rgb(49, 13, 22);
/* oklch */ color: oklch(22.3% 0.059 7.9);
Tailwind
colors: {
  custom: {
    50: '#6c4e52',
    500: '#310d16',
    950: '#000000',
  },
}
SCSS
$custom: #310d16;
$custom-light: #6c4e52;
$custom-dark: #000000;
JSON
{
  "hex": "#310d16",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 22
  },
  "hsl": {
    "h": 345,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22293,
    "c": 0.05913,
    "h": 7.9
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#310D16
secondary
#2E6C5D
accent
#E1BB47
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310D16

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

Preview Lab → · Contrast checker → · Palette generator →

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