#300804#300804

#300804 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.066 H 30.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#300804
RGBrgb(48, 8, 4)
HSLhsl(5, 85%, 10%)
HSVhsv(5, 92%, 19%)
CMYKcmyk(0%, 83.3%, 91.7%, 81.2%)
CIE-LABlab(7.33, 19.88, 9.75)
CIE-LCHlch(7.33, 22.14, 26.12°)
OKLaboklab(20.86% 0.0568 0.034)
OKLCHoklch(20.86% 0.066 30.9)
XYZxyz(1.3278, 0.8110, 0.2015)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300804 #042C30
analogous
#300416 #300804 #301E04
triadic
#300804 #043008 #080430
tetradic
#300804 #163004 #042C30 #1E0430
square
#300804 #163004 #042C30 #1E0430
split-complementary
#300804 #04301E #041630
monochromatic
#1C0502 #1C0502 #300804 #681109 #A11B0D

Accessibility & contrast

On white

18.07
#300804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300804
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300804#FFFFFF#000000##FFFFFF
##3008041.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300804;
/* rgb */ color: rgb(48, 8, 4);
/* oklch */ color: oklch(20.9% 0.066 30.9);
Tailwind
colors: {
  custom: {
    50: '#6c4a48',
    500: '#300804',
    950: '#000000',
  },
}
SCSS
$custom: #300804;
$custom-light: #6c4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#300804",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 5.455,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20855,
    "c": 0.06619,
    "h": 30.9
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#300804
secondary
#1D6B72
accent
#E8FB2D
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #300804

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

Preview Lab → · Contrast checker → · Palette generator →

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