#1B0502#1B0502

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

Color values

HEX#1B0502
RGBrgb(27, 5, 2)
HSLhsl(7, 86%, 6%)
HSVhsv(7, 93%, 11%)
CMYKcmyk(0%, 81.5%, 92.6%, 89.4%)
CIE-LABlab(3.13, 7.72, 4.00)
CIE-LCHlch(3.13, 8.69, 27.40°)
OKLaboklab(15.59% 0.0349 0.0245)
OKLCHoklch(15.59% 0.043 35.1)
XYZxyz(0.5173, 0.3460, 0.0970)
Luminance0.0035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0502 #02181B
analogous
#1B020B #1B0502 #1B1102
triadic
#1B0502 #021B05 #05021B
tetradic
#1B0502 #0B1B02 #02181B #11021B
square
#1B0502 #0B1B02 #02181B #11021B
split-complementary
#1B0502 #021B11 #020B1B
monochromatic
#1C0502 #1C0502 #1C0502 #541006 #8D1A0A

Accessibility & contrast

On white

19.64
#1B0502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0502
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0502#FFFFFF#000000##FFFFFF
##1B05021.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0802
Deuteranopia (green-blind)
#100D02
Tritanopia (blue-blind)
#1F0204
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1b0502;
/* rgb */ color: rgb(27, 5, 2);
/* oklch */ color: oklch(15.6% 0.043 35.1);
Tailwind
colors: {
  custom: {
    50: '#564948',
    500: '#1b0502',
    950: '#000000',
  },
}
SCSS
$custom: #1b0502;
$custom-light: #564948;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0502",
  "rgb": {
    "r": 27,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 7.2,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.15592,
    "c": 0.04264,
    "h": 35.1
  },
  "luminance": 0.00346
}

Semantic roles & 50–950 ramp

primary
#1B0502
secondary
#185861
accent
#E3FC2B
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#030000
muted
#787777

Preview Lab

Preview with #1B0502

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

Preview Lab → · Contrast checker → · Palette generator →

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