#040302#040302

#040302 is a very dark, near-neutral orange. Relative luminance 0.001; OKLCH L 9.9% C 0.006 H 72.5°. Best body text is #FFFFFF at 20.61:1 contrast (WCAG AA passes).

Color values

HEX#040302
RGBrgb(4, 3, 2)
HSLhsl(30, 33%, 1%)
HSVhsv(30, 50%, 2%)
CMYKcmyk(0%, 25%, 50%, 98.4%)
CIE-LABlab(0.86, 0.12, 0.47)
CIE-LCHlch(0.86, 0.49, 75.26°)
OKLaboklab(9.86% 0.0019 0.006)
OKLCHoklch(9.86% 0.006 72.5)
XYZxyz(0.0936, 0.0953, 0.0709)
Luminance0.0009 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040302 #020304
analogous
#040202 #040302 #040402
triadic
#040302 #020403 #030204
tetradic
#040302 #020402 #020304 #040204
square
#040302 #020402 #020304 #040204
split-complementary
#040302 #020404 #020204
monochromatic
#140F0A #140F0A #140F0A #2D2216 #56402B

Accessibility & contrast

On white

20.61
#040302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#040302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040302
20.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040302#FFFFFF#000000##FFFFFF
##0403021.0020.611.0220.61
#FFFFFF20.611.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030302
Deuteranopia (green-blind)
#040302
Tritanopia (blue-blind)
#040303
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #040302;
/* rgb */ color: rgb(4, 3, 2);
/* oklch */ color: oklch(9.9% 0.006 72.5);
Tailwind
colors: {
  custom: {
    50: '#484848',
    500: '#040302',
    950: '#000000',
  },
}
SCSS
$custom: #040302;
$custom-light: #484848;
$custom-dark: #000000;
JSON
{
  "hex": "#040302",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 2
  },
  "hsl": {
    "h": 30,
    "s": 33.333,
    "l": 1.176
  },
  "oklch": {
    "l": 0.09862,
    "c": 0.00629,
    "h": 72.5
  },
  "luminance": 0.00095
}

Semantic roles & 50–950 ramp

primary
#040302
secondary
#25313C
accent
#94C95E
background
#F4F4F4
surface
#E6E6E6
border
#C2C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #040302

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

Preview Lab → · Contrast checker → · Palette generator →

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