#310F13#310F13

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

Color values

HEX#310F13
RGBrgb(49, 15, 19)
HSLhsl(353, 53%, 13%)
HSVhsv(353, 69%, 19%)
CMYKcmyk(0%, 69.4%, 61.2%, 80.8%)
CIE-LABlab(9.33, 17.73, 5.58)
CIE-LCHlch(9.33, 18.59, 17.47°)
OKLaboklab(22.53% 0.0534 0.0149)
OKLCHoklch(22.53% 0.055 15.5)
XYZxyz(1.5551, 1.0418, 0.7352)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F13 #0F312D
analogous
#310F24 #310F13 #311C0F
triadic
#310F13 #13310F #0F1331
tetradic
#310F13 #24310F #0F312D #1C0F31
square
#310F13 #24310F #0F312D #1C0F31
split-complementary
#310F13 #0F311C #0F2431
monochromatic
#170709 #170709 #310F13 #601D25 #8F2C37

Accessibility & contrast

On white

17.38
#310F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F13
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F13#FFFFFF#000000##FFFFFF
##310F131.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310f13;
/* rgb */ color: rgb(49, 15, 19);
/* oklch */ color: oklch(22.5% 0.055 15.5);
Tailwind
colors: {
  custom: {
    50: '#6c4f50',
    500: '#310f13',
    950: '#000000',
  },
}
SCSS
$custom: #310f13;
$custom-light: #6c4f50;
$custom-dark: #000000;
JSON
{
  "hex": "#310f13",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 19
  },
  "hsl": {
    "h": 352.941,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22528,
    "c": 0.05542,
    "h": 15.5
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#310F13
secondary
#316B64
accent
#DDCB4B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310F13

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

Preview Lab → · Contrast checker → · Palette generator →

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