#1F050A#1F050A

#1F050A is a very dark, muted red. Relative luminance 0.004; OKLCH L 16.8% C 0.047 H 10.3°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#1F050A
RGBrgb(31, 5, 10)
HSLhsl(348, 72%, 7%)
HSVhsv(348, 84%, 12%)
CMYKcmyk(0%, 83.9%, 67.7%, 87.8%)
CIE-LABlab(3.81, 11.20, 1.81)
CIE-LCHlch(3.81, 11.34, 9.16°)
OKLaboklab(16.76% 0.0463 0.0084)
OKLCHoklch(16.76% 0.047 10.3)
XYZxyz(0.6742, 0.4218, 0.3330)
Luminance0.0042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F050A #051F1A
analogous
#1F0517 #1F050A #1F0D05
triadic
#1F050A #0A1F05 #050A1F
tetradic
#1F050A #171F05 #051F1A #0D051F
square
#1F050A #171F05 #051F1A #0D051F
split-complementary
#1F050A #051F0D #05171F
monochromatic
#1A0408 #1A0408 #1F050A #540E1B #88162C

Accessibility & contrast

On white

19.37
#1F050A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F050A
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F050A#FFFFFF#000000##FFFFFF
##1F050A1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0A0A
Deuteranopia (green-blind)
#111009
Tritanopia (blue-blind)
#230307
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1f050a;
/* rgb */ color: rgb(31, 5, 10);
/* oklch */ color: oklch(16.8% 0.047 10.3);
Tailwind
colors: {
  custom: {
    50: '#5a494b',
    500: '#1f050a',
    950: '#000000',
  },
}
SCSS
$custom: #1f050a;
$custom-light: #5a494b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f050a",
  "rgb": {
    "r": 31,
    "g": 5,
    "b": 10
  },
  "hsl": {
    "h": 348.462,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16757,
    "c": 0.0471,
    "h": 10.3
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#1F050A
secondary
#206054
accent
#EFCC39
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F050A

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

Preview Lab → · Contrast checker → · Palette generator →

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