#1F0803#1F0803

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

Color values

HEX#1F0803
RGBrgb(31, 8, 3)
HSLhsl(11, 82%, 7%)
HSVhsv(11, 90%, 12%)
CMYKcmyk(0%, 74.2%, 90.3%, 87.8%)
CIE-LABlab(4.26, 9.02, 5.31)
CIE-LCHlch(4.26, 10.47, 30.51°)
OKLaboklab(17.22% 0.0337 0.0264)
OKLCHoklch(17.22% 0.043 38)
XYZxyz(0.6684, 0.4716, 0.1420)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0803 #031A1F
analogous
#1F030C #1F0803 #1F1603
triadic
#1F0803 #031F08 #08031F
tetradic
#1F0803 #0C1F03 #031A1F #16031F
square
#1F0803 #0C1F03 #031A1F #16031F
split-complementary
#1F0803 #031F16 #030C1F
monochromatic
#1C0703 #1C0703 #1F0803 #571608 #8F250E

Accessibility & contrast

On white

19.19
#1F0803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F0803
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0803#FFFFFF#000000##FFFFFF
##1F08031.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f0803;
/* rgb */ color: rgb(31, 8, 3);
/* oklch */ color: oklch(17.2% 0.043 38.0);
Tailwind
colors: {
  custom: {
    50: '#5a4a48',
    500: '#1f0803',
    950: '#000000',
  },
}
SCSS
$custom: #1f0803;
$custom-light: #5a4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0803",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 3
  },
  "hsl": {
    "h": 10.714,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17221,
    "c": 0.04282,
    "h": 38
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#1F0803
secondary
#1B5663
accent
#D5F92F
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#040100
muted
#797777

Preview Lab

Preview with #1F0803

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

Preview Lab → · Contrast checker → · Palette generator →

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