#300802#300802

#300802 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.8% C 0.067 H 34.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#300802
RGBrgb(48, 8, 2)
HSLhsl(8, 92%, 10%)
HSVhsv(8, 96%, 19%)
CMYKcmyk(0%, 83.3%, 95.8%, 81.2%)
CIE-LABlab(7.29, 19.72, 10.51)
CIE-LCHlch(7.29, 22.34, 28.05°)
OKLaboklab(20.81% 0.0554 0.0378)
OKLCHoklch(20.81% 0.067 34.3)
XYZxyz(1.3169, 0.8066, 0.1438)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300802 #022A30
analogous
#300213 #300802 #301F02
triadic
#300802 #023008 #080230
tetradic
#300802 #133002 #022A30 #1F0230
square
#300802 #133002 #022A30 #1F0230
split-complementary
#300802 #02301F #021330
monochromatic
#1D0501 #1D0501 #300802 #6B1204 #A61C07

Accessibility & contrast

On white

18.08
#300802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#300802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300802
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300802#FFFFFF#000000##FFFFFF
##3008021.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141001
Deuteranopia (green-blind)
#1E1901
Tritanopia (blue-blind)
#360007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #300802;
/* rgb */ color: rgb(48, 8, 2);
/* oklch */ color: oklch(20.8% 0.067 34.3);
Tailwind
colors: {
  custom: {
    50: '#6c4a47',
    500: '#300802',
    950: '#000000',
  },
}
SCSS
$custom: #300802;
$custom-light: #6c4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#300802",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 7.826,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2081,
    "c": 0.06705,
    "h": 34.3
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#300802
secondary
#196975
accent
#E3FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #300802

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

Preview Lab → · Contrast checker → · Palette generator →

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