#1F080B#1F080B

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

Color values

HEX#1F080B
RGBrgb(31, 8, 11)
HSLhsl(352, 59%, 8%)
HSVhsv(352, 74%, 12%)
CMYKcmyk(0%, 74.2%, 64.5%, 87.8%)
CIE-LABlab(4.42, 10.14, 2.28)
CIE-LCHlch(4.42, 10.39, 12.66°)
OKLaboklab(17.48% 0.0392 0.0097)
OKLCHoklch(17.48% 0.04 13.9)
XYZxyz(0.7124, 0.4892, 0.3735)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F080B #081F1C
analogous
#1F0816 #1F080B #1F1008
triadic
#1F080B #0B1F08 #080B1F
tetradic
#1F080B #161F08 #081F1C #10081F
square
#1F080B #161F08 #081F1C #10081F
split-complementary
#1F080B #081F10 #08161F
monochromatic
#180609 #180609 #1F080B #50151C #80212E

Accessibility & contrast

On white

19.13
#1F080B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F080B
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F080B#FFFFFF#000000##FFFFFF
##1F080B1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C0B
Deuteranopia (green-blind)
#13110A
Tritanopia (blue-blind)
#230609
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f080b;
/* rgb */ color: rgb(31, 8, 11);
/* oklch */ color: oklch(17.5% 0.040 13.9);
Tailwind
colors: {
  custom: {
    50: '#5a4a4c',
    500: '#1f080b',
    950: '#000000',
  },
}
SCSS
$custom: #1f080b;
$custom-light: #5a4a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f080b",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 11
  },
  "hsl": {
    "h": 352.174,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17479,
    "c": 0.04036,
    "h": 13.9
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#1F080B
secondary
#265C55
accent
#E2CE46
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #1F080B

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

Preview Lab → · Contrast checker → · Palette generator →

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