#1F0801#1F0801

#1F0801 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.2% C 0.045 H 45.0°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#1F0801
RGBrgb(31, 8, 1)
HSLhsl(14, 94%, 6%)
HSVhsv(14, 97%, 12%)
CMYKcmyk(0%, 74.2%, 96.8%, 87.8%)
CIE-LABlab(4.22, 8.74, 6.07)
CIE-LCHlch(4.22, 10.64, 34.79°)
OKLaboklab(17.16% 0.0318 0.0317)
OKLCHoklch(17.16% 0.045 45)
XYZxyz(0.6575, 0.4673, 0.0843)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0801 #01181F
analogous
#1F0109 #1F0801 #1F1701
triadic
#1F0801 #011F08 #08011F
tetradic
#1F0801 #091F01 #01181F #17011F
square
#1F0801 #091F01 #01181F #17011F
split-complementary
#1F0801 #011F17 #01091F
monochromatic
#1E0801 #1E0801 #1F0801 #5A1703 #962705

Accessibility & contrast

On white

19.21
#1F0801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1F0801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0801
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0801#FFFFFF#000000##FFFFFF
##1F08011.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0B00
Deuteranopia (green-blind)
#141101
Tritanopia (blue-blind)
#230406
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f0801;
/* rgb */ color: rgb(31, 8, 1);
/* oklch */ color: oklch(17.2% 0.045 45.0);
Tailwind
colors: {
  custom: {
    50: '#5a4a47',
    500: '#1f0801',
    950: '#000000',
  },
}
SCSS
$custom: #1f0801;
$custom-light: #5a4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0801",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 1
  },
  "hsl": {
    "h": 14,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.17155,
    "c": 0.04488,
    "h": 45
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#1F0801
secondary
#155467
accent
#CDFF29
background
#F5F4F3
surface
#E9E7E5
border
#C5C3C1
text
#040100
muted
#797777

Preview Lab

Preview with #1F0801

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

Preview Lab → · Contrast checker → · Palette generator →

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