#310F16#310F16

#310F16 is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.6% C 0.056 H 10.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#310F16
RGBrgb(49, 15, 22)
HSLhsl(348, 53%, 13%)
HSVhsv(348, 69%, 19%)
CMYKcmyk(0%, 69.4%, 55.1%, 80.8%)
CIE-LABlab(9.42, 18.09, 3.68)
CIE-LCHlch(9.42, 18.46, 11.49°)
OKLaboklab(22.62% 0.0549 0.0096)
OKLCHoklch(22.62% 0.056 10)
XYZxyz(1.5824, 1.0527, 0.8788)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F16 #0F312A
analogous
#310F27 #310F16 #31190F
triadic
#310F16 #16310F #0F1631
tetradic
#310F16 #27310F #0F312A #190F31
square
#310F16 #27310F #0F312A #190F31
split-complementary
#310F16 #0F3119 #0F2731
monochromatic
#17070B #17070B #310F16 #601D2B #8F2C40

Accessibility & contrast

On white

17.35
#310F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F16
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F16#FFFFFF#000000##FFFFFF
##310F161.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161616
Deuteranopia (green-blind)
#1F1D15
Tritanopia (blue-blind)
#360B12
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f16;
/* rgb */ color: rgb(49, 15, 22);
/* oklch */ color: oklch(22.6% 0.056 10.0);
Tailwind
colors: {
  custom: {
    50: '#6b4f52',
    500: '#310f16',
    950: '#000000',
  },
}
SCSS
$custom: #310f16;
$custom-light: #6b4f52;
$custom-dark: #000000;
JSON
{
  "hex": "#310f16",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 22
  },
  "hsl": {
    "h": 347.647,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22623,
    "c": 0.05572,
    "h": 10
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#310F16
secondary
#316B5F
accent
#DDBF4B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310F16

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

Preview Lab → · Contrast checker → · Palette generator →

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