#1F050B#1F050B

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

Color values

HEX#1F050B
RGBrgb(31, 5, 11)
HSLhsl(346, 72%, 7%)
HSVhsv(346, 84%, 12%)
CMYKcmyk(0%, 83.9%, 64.5%, 87.8%)
CIE-LABlab(3.83, 11.34, 1.42)
CIE-LCHlch(3.83, 11.42, 7.13°)
OKLaboklab(16.79% 0.0469 0.0065)
OKLCHoklch(16.79% 0.047 7.9)
XYZxyz(0.6798, 0.4241, 0.3626)
Luminance0.0042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F050B #051F19
analogous
#1F0518 #1F050B #1F0C05
triadic
#1F050B #0B1F05 #050B1F
tetradic
#1F050B #181F05 #051F19 #0C051F
square
#1F050B #181F05 #051F19 #0C051F
split-complementary
#1F050B #051F0C #05181F
monochromatic
#1A0409 #1A0409 #1F050B #540E1E #881630

Accessibility & contrast

On white

19.36
#1F050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F050B
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F050B#FFFFFF#000000##FFFFFF
##1F050B1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0A0B
Deuteranopia (green-blind)
#11100A
Tritanopia (blue-blind)
#230307
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1f050b;
/* rgb */ color: rgb(31, 5, 11);
/* oklch */ color: oklch(16.8% 0.047 7.9);
Tailwind
colors: {
  custom: {
    50: '#5a494c',
    500: '#1f050b',
    950: '#000000',
  },
}
SCSS
$custom: #1f050b;
$custom-light: #5a494c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f050b",
  "rgb": {
    "r": 31,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 346.154,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16793,
    "c": 0.0473,
    "h": 7.9
  },
  "luminance": 0.00424
}

Semantic roles & 50–950 ramp

primary
#1F050B
secondary
#206051
accent
#EFC539
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F050B

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

Preview Lab → · Contrast checker → · Palette generator →

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