#311012#311012

#311012 is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.7% C 0.054 H 18.7°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#311012
RGBrgb(49, 16, 18)
HSLhsl(356, 51%, 13%)
HSVhsv(356, 67%, 19%)
CMYKcmyk(0%, 67.3%, 63.3%, 80.8%)
CIE-LABlab(9.54, 17.01, 6.49)
CIE-LCHlch(9.54, 18.21, 20.90°)
OKLaboklab(22.67% 0.051 0.0173)
OKLCHoklch(22.67% 0.054 18.7)
XYZxyz(1.5612, 1.0674, 0.6960)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311012 #10312F
analogous
#311022 #311012 #311E10
triadic
#311012 #123110 #101231
tetradic
#311012 #223110 #10312F #1E1031
square
#311012 #223110 #10312F #1E1031
split-complementary
#311012 #10311E #102231
monochromatic
#170808 #170808 #311012 #5F1F23 #8D2E34

Accessibility & contrast

On white

17.31
#311012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#311012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311012
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311012#FFFFFF#000000##FFFFFF
##3110121.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181612
Deuteranopia (green-blind)
#201D11
Tritanopia (blue-blind)
#360B11
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #311012;
/* rgb */ color: rgb(49, 16, 18);
/* oklch */ color: oklch(22.7% 0.054 18.7);
Tailwind
colors: {
  custom: {
    50: '#6c4f4f',
    500: '#311012',
    950: '#000000',
  },
}
SCSS
$custom: #311012;
$custom-light: #6c4f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#311012",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 356.364,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22674,
    "c": 0.05382,
    "h": 18.7
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#311012
secondary
#336A67
accent
#DAD24E
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #311012

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

Preview Lab → · Contrast checker → · Palette generator →

#311012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva