#1F0108#1F0108

#1F0108 is a very dark, muted red. Relative luminance 0.003; OKLCH L 15.7% C 0.058 H 7.6°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#1F0108
RGBrgb(31, 1, 8)
HSLhsl(346, 94%, 6%)
HSVhsv(346, 97%, 12%)
CMYKcmyk(0%, 96.8%, 74.2%, 87.8%)
CIE-LABlab(2.99, 12.52, 1.42)
CIE-LCHlch(2.99, 12.60, 6.46°)
OKLaboklab(15.65% 0.0577 0.0077)
OKLCHoklch(15.65% 0.058 7.6)
XYZxyz(0.6198, 0.3306, 0.2609)
Luminance0.0033 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0108 #011F18
analogous
#1F0117 #1F0108 #1F0901
triadic
#1F0108 #081F01 #01081F
tetradic
#1F0108 #171F01 #011F18 #09011F
square
#1F0108 #171F01 #011F18 #09011F
split-complementary
#1F0108 #011F09 #01171F
monochromatic
#1E0108 #1E0108 #1F0108 #5A0317 #960527

Accessibility & contrast

On white

19.70
#1F0108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1F0108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0108
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0108#FFFFFF#000000##FFFFFF
##1F01081.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060708
Deuteranopia (green-blind)
#0F0D07
Tritanopia (blue-blind)
#230003
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f0108;
/* rgb */ color: rgb(31, 1, 8);
/* oklch */ color: oklch(15.7% 0.058 7.6);
Tailwind
colors: {
  custom: {
    50: '#5a474a',
    500: '#1f0108',
    950: '#000000',
  },
}
SCSS
$custom: #1f0108;
$custom-light: #5a474a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0108",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 8
  },
  "hsl": {
    "h": 346,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15652,
    "c": 0.05822,
    "h": 7.6
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#1F0108
secondary
#156754
accent
#FFCD29
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F0108

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

Preview Lab → · Contrast checker → · Palette generator →

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