#1B0002#1B0002

#1B0002 is a very dark, muted red. Relative luminance 0.002; OKLCH L 14.0% C 0.056 H 20.2°. Best body text is #FFFFFF at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#1B0002
RGBrgb(27, 0, 2)
HSLhsl(356, 100%, 5%)
HSVhsv(356, 100%, 11%)
CMYKcmyk(0%, 100%, 92.6%, 89.4%)
CIE-LABlab(2.15, 9.72, 2.57)
CIE-LCHlch(2.15, 10.05, 14.81°)
OKLaboklab(14.05% 0.053 0.0195)
OKLCHoklch(14.05% 0.056 20.2)
XYZxyz(0.4630, 0.2375, 0.0789)
Luminance0.0024 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0002 #001B19
analogous
#1B000F #1B0002 #1B0B00
triadic
#1B0002 #021B00 #00021B
tetradic
#1B0002 #0F1B00 #001B19 #0B001B
square
#1B0002 #0F1B00 #001B19 #0B001B
split-complementary
#1B0002 #001B0B #000F1B
monochromatic
#1F0002 #1F0002 #1F0002 #580007 #95000B

Accessibility & contrast

On white

20.05
#1B0002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#1B0002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0002
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0002#FFFFFF#000000##FFFFFF
##1B00021.0020.051.0520.05
#FFFFFF20.051.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050402
Deuteranopia (green-blind)
#0D0A02
Tritanopia (blue-blind)
#1F0001
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #1b0002;
/* rgb */ color: rgb(27, 0, 2);
/* oklch */ color: oklch(14.0% 0.056 20.2);
Tailwind
colors: {
  custom: {
    50: '#564648',
    500: '#1b0002',
    950: '#000000',
  },
}
SCSS
$custom: #1b0002;
$custom-light: #564648;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0002",
  "rgb": {
    "r": 27,
    "g": 0,
    "b": 2
  },
  "hsl": {
    "h": 355.556,
    "s": 100,
    "l": 5.294
  },
  "oklch": {
    "l": 0.14049,
    "c": 0.05644,
    "h": 20.2
  },
  "luminance": 0.00237
}

Semantic roles & 50–950 ramp

primary
#1B0002
secondary
#12655F
accent
#FFEF29
background
#F5F3F4
surface
#E9E5E6
border
#C5C1C2
text
#030000
muted
#787777

Preview Lab

Preview with #1B0002

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

Preview Lab → · Contrast checker → · Palette generator →

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