#1F0200#1F0200

#1F0200 is a very dark, muted red. Relative luminance 0.003; OKLCH L 15.6% C 0.056 H 33.8°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#1F0200
RGBrgb(31, 2, 0)
HSLhsl(4, 100%, 6%)
HSVhsv(4, 100%, 12%)
CMYKcmyk(0%, 93.5%, 100%, 87.8%)
CIE-LABlab(3.02, 11.01, 4.73)
CIE-LCHlch(3.02, 11.98, 23.27°)
OKLaboklab(15.61% 0.0469 0.0314)
OKLCHoklch(15.61% 0.056 33.8)
XYZxyz(0.5869, 0.3348, 0.0337)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0200 #001D1F
analogous
#1F000D #1F0200 #1F1100
triadic
#1F0200 #001F02 #02001F
tetradic
#1F0200 #0D1F00 #001D1F #11001F
square
#1F0200 #0D1F00 #001D1F #11001F
split-complementary
#1F0200 #001F11 #000D1F
monochromatic
#1F0200 #1F0200 #1F0200 #5C0600 #990A00

Accessibility & contrast

On white

19.68
#1F0200 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F0200
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0200#FFFFFF#000000##FFFFFF
##1F02001.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090700
Deuteranopia (green-blind)
#110E00
Tritanopia (blue-blind)
#230002
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f0200;
/* rgb */ color: rgb(31, 2, 0);
/* oklch */ color: oklch(15.6% 0.056 33.8);
Tailwind
colors: {
  custom: {
    50: '#5a4747',
    500: '#1f0200',
    950: '#000000',
  },
}
SCSS
$custom: #1f0200;
$custom-light: #5a4747;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0200",
  "rgb": {
    "r": 31,
    "g": 2,
    "b": 0
  },
  "hsl": {
    "h": 3.871,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.15609,
    "c": 0.05643,
    "h": 33.8
  },
  "luminance": 0.00335
}

Semantic roles & 50–950 ramp

primary
#1F0200
secondary
#126368
accent
#F1FF29
background
#F5F4F3
surface
#E9E6E5
border
#C5C2C1
text
#040000
muted
#797777

Preview Lab

Preview with #1F0200

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

Preview Lab → · Contrast checker → · Palette generator →

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