#080402#080402

#080402 is a very dark, near-neutral orange. Relative luminance 0.001; OKLCH L 11.4% C 0.014 H 57.7°. Best body text is #FFFFFF at 20.42:1 contrast (WCAG AA passes).

Color values

HEX#080402
RGBrgb(8, 4, 2)
HSLhsl(20, 60%, 2%)
HSVhsv(20, 75%, 3%)
CMYKcmyk(0%, 50%, 75%, 96.9%)
CIE-LABlab(1.29, 0.77, 1.13)
CIE-LCHlch(1.29, 1.36, 55.80°)
OKLaboklab(11.36% 0.0073 0.0116)
OKLCHoklch(11.36% 0.014 57.7)
XYZxyz(0.1545, 0.1429, 0.0769)
Luminance0.0014 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080402 #020608
analogous
#080203 #080402 #080702
triadic
#080402 #020804 #040208
tetradic
#080402 #030802 #020608 #070208
square
#080402 #030802 #020608 #070208
split-complementary
#080402 #020807 #020308
monochromatic
#180C06 #180C06 #180C06 #391C0E #6A351A

Accessibility & contrast

On white

20.42
#080402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#080402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080402
20.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080402#FFFFFF#000000##FFFFFF
##0804021.0020.421.0320.42
#FFFFFF20.421.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050402
Deuteranopia (green-blind)
#060502
Tritanopia (blue-blind)
#090303
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #080402;
/* rgb */ color: rgb(8, 4, 2);
/* oklch */ color: oklch(11.4% 0.014 57.7);
Tailwind
colors: {
  custom: {
    50: '#4a4848',
    500: '#080402',
    950: '#000000',
  },
}
SCSS
$custom: #080402;
$custom-light: #4a4848;
$custom-dark: #000000;
JSON
{
  "hex": "#080402",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 20,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.11355,
    "c": 0.01372,
    "h": 57.7
  },
  "luminance": 0.00143
}

Semantic roles & 50–950 ramp

primary
#080402
secondary
#1E3A48
accent
#AEE345
background
#F4F4F4
surface
#E7E6E6
border
#C3C2C2
text
#010000
muted
#777777

Preview Lab

Preview with #080402

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

Preview Lab → · Contrast checker → · Palette generator →

#080402 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva