#310F14#310F14

#310F14 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.6% C 0.055 H 13.7°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#310F14
RGBrgb(49, 15, 20)
HSLhsl(351, 53%, 13%)
HSVhsv(351, 69%, 19%)
CMYKcmyk(0%, 69.4%, 59.2%, 80.8%)
CIE-LABlab(9.36, 17.85, 4.97)
CIE-LCHlch(9.36, 18.52, 15.57°)
OKLaboklab(22.56% 0.0539 0.0131)
OKLCHoklch(22.56% 0.055 13.7)
XYZxyz(1.5638, 1.0453, 0.7811)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F14 #0F312C
analogous
#310F25 #310F14 #311B0F
triadic
#310F14 #14310F #0F1431
tetradic
#310F14 #25310F #0F312C #1B0F31
square
#310F14 #25310F #0F312C #1B0F31
split-complementary
#310F14 #0F311B #0F2531
monochromatic
#17070A #17070A #310F14 #601D27 #8F2C3A

Accessibility & contrast

On white

17.37
#310F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F14
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F14#FFFFFF#000000##FFFFFF
##310F141.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161614
Deuteranopia (green-blind)
#1F1D13
Tritanopia (blue-blind)
#360A11
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f14;
/* rgb */ color: rgb(49, 15, 20);
/* oklch */ color: oklch(22.6% 0.055 13.7);
Tailwind
colors: {
  custom: {
    50: '#6c4f51',
    500: '#310f14',
    950: '#000000',
  },
}
SCSS
$custom: #310f14;
$custom-light: #6c4f51;
$custom-dark: #000000;
JSON
{
  "hex": "#310f14",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 20
  },
  "hsl": {
    "h": 351.176,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22558,
    "c": 0.05547,
    "h": 13.7
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#310F14
secondary
#316B62
accent
#DDC74B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310F14

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

Preview Lab → · Contrast checker → · Palette generator →

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