#1F080A#1F080A

#1F080A is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.4% C 0.040 H 16.6°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#1F080A
RGBrgb(31, 8, 10)
HSLhsl(355, 59%, 8%)
HSVhsv(355, 74%, 12%)
CMYKcmyk(0%, 74.2%, 67.7%, 87.8%)
CIE-LABlab(4.40, 9.99, 2.67)
CIE-LCHlch(4.40, 10.34, 14.94°)
OKLaboklab(17.45% 0.0386 0.0115)
OKLCHoklch(17.45% 0.04 16.6)
XYZxyz(0.7067, 0.4870, 0.3439)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F080A #081F1D
analogous
#1F0815 #1F080A #1F1208
triadic
#1F080A #0A1F08 #080A1F
tetradic
#1F080A #151F08 #081F1D #12081F
square
#1F080A #151F08 #081F1D #12081F
split-complementary
#1F080A #081F12 #08151F
monochromatic
#180608 #180608 #1F080A #50151A #802129

Accessibility & contrast

On white

19.14
#1F080A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F080A
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F080A#FFFFFF#000000##FFFFFF
##1F080A1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C0A
Deuteranopia (green-blind)
#131109
Tritanopia (blue-blind)
#230509
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f080a;
/* rgb */ color: rgb(31, 8, 10);
/* oklch */ color: oklch(17.4% 0.040 16.6);
Tailwind
colors: {
  custom: {
    50: '#5a4a4b',
    500: '#1f080a',
    950: '#000000',
  },
}
SCSS
$custom: #1f080a;
$custom-light: #5a4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f080a",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 10
  },
  "hsl": {
    "h": 354.783,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17446,
    "c": 0.04032,
    "h": 16.6
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#1F080A
secondary
#265C58
accent
#E2D546
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #1F080A

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

Preview Lab → · Contrast checker → · Palette generator →

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