#300402#300402

#300402 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.072 H 29.9°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#300402
RGBrgb(48, 4, 2)
HSLhsl(3, 92%, 10%)
HSVhsv(3, 96%, 19%)
CMYKcmyk(0%, 91.7%, 95.8%, 81.2%)
CIE-LABlab(6.50, 21.77, 9.36)
CIE-LCHlch(6.50, 23.69, 23.27°)
OKLaboklab(20.16% 0.0628 0.0361)
OKLCHoklch(20.16% 0.072 29.9)
XYZxyz(1.2735, 0.7198, 0.1293)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300402 #022E30
analogous
#300217 #300402 #301B02
triadic
#300402 #023004 #040230
tetradic
#300402 #173002 #022E30 #1B0230
square
#300402 #173002 #022E30 #1B0230
split-complementary
#300402 #02301B #021730
monochromatic
#1D0201 #1D0201 #300402 #6B0904 #A60E07

Accessibility & contrast

On white

18.36
#300402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#300402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300402
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300402#FFFFFF#000000##FFFFFF
##3004021.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E02
Deuteranopia (green-blind)
#1C1801
Tritanopia (blue-blind)
#360004
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #300402;
/* rgb */ color: rgb(48, 4, 2);
/* oklch */ color: oklch(20.2% 0.072 29.9);
Tailwind
colors: {
  custom: {
    50: '#6c4847',
    500: '#300402',
    950: '#000000',
  },
}
SCSS
$custom: #300402;
$custom-light: #6c4847;
$custom-dark: #000000;
JSON
{
  "hex": "#300402",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 2.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20163,
    "c": 0.07247,
    "h": 29.9
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#300402
secondary
#197175
accent
#F6FF29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #300402

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

Preview Lab → · Contrast checker → · Palette generator →

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