#1F0400#1F0400

#1F0400 is a very dark, muted red. Relative luminance 0.004; OKLCH L 16.1% C 0.052 H 38.6°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#1F0400
RGBrgb(31, 4, 0)
HSLhsl(8, 100%, 6%)
HSVhsv(8, 100%, 12%)
CMYKcmyk(0%, 87.1%, 100%, 87.8%)
CIE-LABlab(3.42, 10.21, 5.30)
CIE-LCHlch(3.42, 11.50, 27.46°)
OKLaboklab(16.15% 0.0408 0.0326)
OKLCHoklch(16.15% 0.052 38.6)
XYZxyz(0.6086, 0.3782, 0.0410)
Luminance0.0038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0400 #001B1F
analogous
#1F000B #1F0400 #1F1300
triadic
#1F0400 #001F04 #04001F
tetradic
#1F0400 #0B1F00 #001B1F #13001F
square
#1F0400 #0B1F00 #001B1F #13001F
split-complementary
#1F0400 #001F13 #000B1F
monochromatic
#1F0400 #1F0400 #1F0400 #5C0C00 #991400

Accessibility & contrast

On white

19.52
#1F0400 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1F0400 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0400
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0400#FFFFFF#000000##FFFFFF
##1F04001.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0800
Deuteranopia (green-blind)
#120F00
Tritanopia (blue-blind)
#230003
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1f0400;
/* rgb */ color: rgb(31, 4, 0);
/* oklch */ color: oklch(16.1% 0.052 38.6);
Tailwind
colors: {
  custom: {
    50: '#5a4847',
    500: '#1f0400',
    950: '#000000',
  },
}
SCSS
$custom: #1f0400;
$custom-light: #5a4847;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0400",
  "rgb": {
    "r": 31,
    "g": 4,
    "b": 0
  },
  "hsl": {
    "h": 7.742,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16147,
    "c": 0.05222,
    "h": 38.6
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#1F0400
secondary
#125D68
accent
#E3FF29
background
#F5F4F3
surface
#E9E6E5
border
#C5C2C1
text
#040000
muted
#797777

Preview Lab

Preview with #1F0400

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

Preview Lab → · Contrast checker → · Palette generator →

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