#1F0809#1F0809

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

Color values

HEX#1F0809
RGBrgb(31, 8, 9)
HSLhsl(357, 59%, 8%)
HSVhsv(357, 74%, 12%)
CMYKcmyk(0%, 74.2%, 71%, 87.8%)
CIE-LABlab(4.38, 9.85, 3.04)
CIE-LCHlch(4.38, 10.31, 17.17°)
OKLaboklab(17.41% 0.0381 0.0134)
OKLCHoklch(17.41% 0.04 19.3)
XYZxyz(0.7013, 0.4848, 0.3150)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0809 #081F1E
analogous
#1F0814 #1F0809 #1F1208
triadic
#1F0809 #091F08 #08091F
tetradic
#1F0809 #141F08 #081F1E #12081F
square
#1F0809 #141F08 #081F1E #12081F
split-complementary
#1F0809 #081F12 #08141F
monochromatic
#180607 #180607 #1F0809 #501517 #802125

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F0809#FFFFFF#000000##FFFFFF
##1F08091.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)
#0D0C09
Deuteranopia (green-blind)
#131109
Tritanopia (blue-blind)
#230508
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f0809;
/* rgb */ color: rgb(31, 8, 9);
/* oklch */ color: oklch(17.4% 0.040 19.3);
Tailwind
colors: {
  custom: {
    50: '#5a4a4b',
    500: '#1f0809',
    950: '#000000',
  },
}
SCSS
$custom: #1f0809;
$custom-light: #5a4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0809",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 9
  },
  "hsl": {
    "h": 357.391,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17414,
    "c": 0.04036,
    "h": 19.3
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#1F0809
secondary
#265C5A
accent
#E2DB46
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #1F0809

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

Preview Lab → · Contrast checker → · Palette generator →

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