#311017#311017

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

Color values

HEX#311017
RGBrgb(49, 16, 23)
HSLhsl(347, 51%, 13%)
HSVhsv(347, 67%, 19%)
CMYKcmyk(0%, 67.3%, 53.1%, 80.8%)
CIE-LABlab(9.69, 17.61, 3.32)
CIE-LCHlch(9.69, 17.92, 10.67°)
OKLaboklab(22.83% 0.0535 0.0087)
OKLCHoklch(22.83% 0.054 9.2)
XYZxyz(1.6067, 1.0856, 0.9354)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311017 #10312A
analogous
#311027 #311017 #311910
triadic
#311017 #173110 #101731
tetradic
#311017 #273110 #10312A #191031
square
#311017 #273110 #10312A #191031
split-complementary
#311017 #103119 #102731
monochromatic
#17080B #17080B #311017 #5F1F2D #8D2E42

Accessibility & contrast

On white

17.26
#311017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#311017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311017
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311017#FFFFFF#000000##FFFFFF
##3110171.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171717
Deuteranopia (green-blind)
#1F1D16
Tritanopia (blue-blind)
#360C13
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #311017;
/* rgb */ color: rgb(49, 16, 23);
/* oklch */ color: oklch(22.8% 0.054 9.2);
Tailwind
colors: {
  custom: {
    50: '#6b4f53',
    500: '#311017',
    950: '#000000',
  },
}
SCSS
$custom: #311017;
$custom-light: #6b4f53;
$custom-dark: #000000;
JSON
{
  "hex": "#311017",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 347.273,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2283,
    "c": 0.05416,
    "h": 9.2
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#311017
secondary
#336A5E
accent
#DABC4E
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #311017

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

Preview Lab → · Contrast checker → · Palette generator →

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