#1F0804#1F0804

#1F0804 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.3% C 0.042 H 34.6°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#1F0804
RGBrgb(31, 8, 4)
HSLhsl(9, 77%, 7%)
HSVhsv(9, 87%, 12%)
CMYKcmyk(0%, 74.2%, 87.1%, 87.8%)
CIE-LABlab(4.28, 9.16, 4.94)
CIE-LCHlch(4.28, 10.40, 28.32°)
OKLaboklab(17.25% 0.0346 0.0239)
OKLCHoklch(17.25% 0.042 34.6)
XYZxyz(0.6739, 0.4738, 0.1708)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0804 #041B1F
analogous
#1F040E #1F0804 #1F1604
triadic
#1F0804 #041F08 #08041F
tetradic
#1F0804 #0E1F04 #041B1F #16041F
square
#1F0804 #0E1F04 #041B1F #16041F
split-complementary
#1F0804 #041F16 #040E1F
monochromatic
#1B0703 #1B0703 #1F0804 #55160B #8B2412

Accessibility & contrast

On white

19.18
#1F0804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F0804
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0804#FFFFFF#000000##FFFFFF
##1F08041.0019.181.0919.18
#FFFFFF19.181.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C04
Deuteranopia (green-blind)
#141104
Tritanopia (blue-blind)
#230407
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f0804;
/* rgb */ color: rgb(31, 8, 4);
/* oklch */ color: oklch(17.3% 0.042 34.6);
Tailwind
colors: {
  custom: {
    50: '#5a4a48',
    500: '#1f0804',
    950: '#000000',
  },
}
SCSS
$custom: #1f0804;
$custom-light: #5a4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0804",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 8.889,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17253,
    "c": 0.04207,
    "h": 34.6
  },
  "luminance": 0.00474
}

Semantic roles & 50–950 ramp

primary
#1F0804
secondary
#1D5762
accent
#D7F434
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#040100
muted
#797777

Preview Lab

Preview with #1F0804

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

Preview Lab → · Contrast checker → · Palette generator →

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