#31100A#31100A

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

Color values

HEX#31100A
RGBrgb(49, 16, 10)
HSLhsl(9, 66%, 12%)
HSVhsv(9, 80%, 19%)
CMYKcmyk(0%, 67.3%, 79.6%, 80.8%)
CIE-LABlab(9.37, 16.27, 10.29)
CIE-LCHlch(9.37, 19.25, 32.32°)
OKLaboklab(22.49% 0.047 0.0295)
OKLCHoklch(22.49% 0.055 32.1)
XYZxyz(1.5068, 1.0457, 0.4096)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31100A #0A2B31
analogous
#310A18 #31100A #31240A
triadic
#31100A #0A3110 #100A31
tetradic
#31100A #18310A #0A2B31 #240A31
square
#31100A #18310A #0A2B31 #240A31
split-complementary
#31100A #0A3124 #0A1831
monochromatic
#190805 #190805 #31100A #642114 #97311F

Accessibility & contrast

On white

17.37
#31100A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#31100A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31100A
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31100A#FFFFFF#000000##FFFFFF
##31100A1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191609
Deuteranopia (green-blind)
#211D09
Tritanopia (blue-blind)
#37090F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31100a;
/* rgb */ color: rgb(49, 16, 10);
/* oklch */ color: oklch(22.5% 0.055 32.1);
Tailwind
colors: {
  custom: {
    50: '#6c4f4b',
    500: '#31100a',
    950: '#000000',
  },
}
SCSS
$custom: #31100a;
$custom-light: #6c4f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#31100a",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 10
  },
  "hsl": {
    "h": 9.231,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22485,
    "c": 0.05549,
    "h": 32.1
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#31100A
secondary
#29646E
accent
#CFE93F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070201
muted
#7A7877

Preview Lab

Preview with #31100A

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

Preview Lab → · Contrast checker → · Palette generator →

#31100A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva