#310F12#310F12

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

Color values

HEX#310F12
RGBrgb(49, 15, 18)
HSLhsl(355, 53%, 13%)
HSVhsv(355, 69%, 19%)
CMYKcmyk(0%, 69.4%, 63.3%, 80.8%)
CIE-LABlab(9.31, 17.62, 6.16)
CIE-LCHlch(9.31, 18.67, 19.28°)
OKLaboklab(22.5% 0.0529 0.0165)
OKLCHoklch(22.5% 0.055 17.4)
XYZxyz(1.5468, 1.0385, 0.6911)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F12 #0F312E
analogous
#310F23 #310F12 #311D0F
triadic
#310F12 #12310F #0F1231
tetradic
#310F12 #23310F #0F312E #1D0F31
square
#310F12 #23310F #0F312E #1D0F31
split-complementary
#310F12 #0F311D #0F2331
monochromatic
#170709 #170709 #310F12 #601D23 #8F2C34

Accessibility & contrast

On white

17.39
#310F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310F12
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F12#FFFFFF#000000##FFFFFF
##310F121.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171612
Deuteranopia (green-blind)
#1F1D11
Tritanopia (blue-blind)
#360A10
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310f12;
/* rgb */ color: rgb(49, 15, 18);
/* oklch */ color: oklch(22.5% 0.055 17.4);
Tailwind
colors: {
  custom: {
    50: '#6c4f4f',
    500: '#310f12',
    950: '#000000',
  },
}
SCSS
$custom: #310f12;
$custom-light: #6c4f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#310f12",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 18
  },
  "hsl": {
    "h": 354.706,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22498,
    "c": 0.05541,
    "h": 17.4
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#310F12
secondary
#316B66
accent
#DDD04B
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #310F12

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

Preview Lab → · Contrast checker → · Palette generator →

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