#1F0807#1F0807

#1F0807 is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.3% C 0.041 H 25.1°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#1F0807
RGBrgb(31, 8, 7)
HSLhsl(3, 63%, 7%)
HSVhsv(3, 77%, 12%)
CMYKcmyk(0%, 74.2%, 77.4%, 87.8%)
CIE-LABlab(4.34, 9.57, 3.80)
CIE-LCHlch(4.34, 10.30, 21.66°)
OKLaboklab(17.35% 0.0369 0.0173)
OKLCHoklch(17.35% 0.041 25.1)
XYZxyz(0.6903, 0.4804, 0.2573)
Luminance0.0048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0807 #071E1F
analogous
#1F0712 #1F0807 #1F1407
triadic
#1F0807 #071F08 #08071F
tetradic
#1F0807 #121F07 #071E1F #14071F
square
#1F0807 #121F07 #071E1F #14071F
split-complementary
#1F0807 #071F14 #07121F
monochromatic
#190606 #190606 #1F0807 #511512 #83221E

Accessibility & contrast

On white

19.16
#1F0807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1F0807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0807
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0807#FFFFFF#000000##FFFFFF
##1F08071.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C07
Deuteranopia (green-blind)
#131107
Tritanopia (blue-blind)
#230508
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f0807;
/* rgb */ color: rgb(31, 8, 7);
/* oklch */ color: oklch(17.3% 0.041 25.1);
Tailwind
colors: {
  custom: {
    50: '#5a4a4a',
    500: '#1f0807',
    950: '#000000',
  },
}
SCSS
$custom: #1f0807;
$custom-light: #5a4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0807",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 7
  },
  "hsl": {
    "h": 2.5,
    "s": 63.158,
    "l": 7.451
  },
  "oklch": {
    "l": 0.1735,
    "c": 0.04071,
    "h": 25.1
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#1F0807
secondary
#245B5E
accent
#DFE642
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #1F0807

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

Preview Lab → · Contrast checker → · Palette generator →

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