#1F080D#1F080D

#1F080D is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.5% C 0.041 H 8.4°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#1F080D
RGBrgb(31, 8, 13)
HSLhsl(347, 59%, 8%)
HSVhsv(347, 74%, 12%)
CMYKcmyk(0%, 74.2%, 58.1%, 87.8%)
CIE-LABlab(4.46, 10.44, 1.43)
CIE-LCHlch(4.46, 10.54, 7.80°)
OKLaboklab(17.55% 0.0402 0.0059)
OKLCHoklch(17.55% 0.041 8.4)
XYZxyz(0.7246, 0.4941, 0.4379)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F080D #081F1A
analogous
#1F0818 #1F080D #1F0F08
triadic
#1F080D #0D1F08 #080D1F
tetradic
#1F080D #181F08 #081F1A #0F081F
square
#1F080D #181F08 #081F1A #0F081F
split-complementary
#1F080D #081F0F #08181F
monochromatic
#18060A #18060A #1F080D #501521 #802136

Accessibility & contrast

On white

19.11
#1F080D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1F080D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F080D
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F080D#FFFFFF#000000##FFFFFF
##1F080D1.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0D0D
Deuteranopia (green-blind)
#12110C
Tritanopia (blue-blind)
#22060A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f080d;
/* rgb */ color: rgb(31, 8, 13);
/* oklch */ color: oklch(17.5% 0.041 8.4);
Tailwind
colors: {
  custom: {
    50: '#5a4a4d',
    500: '#1f080d',
    950: '#000000',
  },
}
SCSS
$custom: #1f080d;
$custom-light: #5a4a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f080d",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 13
  },
  "hsl": {
    "h": 346.957,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17549,
    "c": 0.04066,
    "h": 8.4
  },
  "luminance": 0.00494
}

Semantic roles & 50–950 ramp

primary
#1F080D
secondary
#265C51
accent
#E2C046
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #1F080D

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

Preview Lab → · Contrast checker → · Palette generator →

#1F080D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva