#310D15#310D15

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

Color values

HEX#310D15
RGBrgb(49, 13, 21)
HSLhsl(347, 58%, 12%)
HSVhsv(347, 73%, 19%)
CMYKcmyk(0%, 73.5%, 57.1%, 80.8%)
CIE-LABlab(8.95, 19.14, 3.70)
CIE-LCHlch(8.95, 19.50, 10.95°)
OKLaboklab(22.26% 0.0581 0.0099)
OKLCHoklch(22.26% 0.059 9.6)
XYZxyz(1.5460, 0.9951, 0.8200)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310D15 #0D3129
analogous
#310D27 #310D15 #31170D
triadic
#310D15 #15310D #0D1531
tetradic
#310D15 #27310D #0D3129 #170D31
square
#310D15 #27310D #0D3129 #170D31
split-complementary
#310D15 #0D3117 #0D2731
monochromatic
#18060A #18060A #310D15 #611A2A #92273E

Accessibility & contrast

On white

17.51
#310D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310D15
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310D15#FFFFFF#000000##FFFFFF
##310D151.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310d15;
/* rgb */ color: rgb(49, 13, 21);
/* oklch */ color: oklch(22.3% 0.059 9.6);
Tailwind
colors: {
  custom: {
    50: '#6c4d52',
    500: '#310d15',
    950: '#000000',
  },
}
SCSS
$custom: #310d15;
$custom-light: #6c4d52;
$custom-dark: #000000;
JSON
{
  "hex": "#310d15",
  "rgb": {
    "r": 49,
    "g": 13,
    "b": 21
  },
  "hsl": {
    "h": 346.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22259,
    "c": 0.05892,
    "h": 9.6
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#310D15
secondary
#2E6C5E
accent
#E1BF47
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310D15

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

Preview Lab → · Contrast checker → · Palette generator →

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