#300C04#300C04

#300C04 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.5% C 0.061 H 35.7°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#300C04
RGBrgb(48, 12, 4)
HSLhsl(11, 85%, 10%)
HSVhsv(11, 92%, 19%)
CMYKcmyk(0%, 75%, 91.7%, 81.2%)
CIE-LABlab(8.13, 17.74, 10.93)
CIE-LCHlch(8.13, 20.84, 31.63°)
OKLaboklab(21.48% 0.0499 0.0359)
OKLCHoklch(21.48% 0.061 35.7)
XYZxyz(1.3725, 0.9003, 0.2163)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C04 #042830
analogous
#300412 #300C04 #302204
triadic
#300C04 #04300C #0C0430
tetradic
#300C04 #123004 #042830 #220430
square
#300C04 #123004 #042830 #220430
split-complementary
#300C04 #043022 #041230
monochromatic
#1C0702 #1C0702 #300C04 #681A09 #A1280D

Accessibility & contrast

On white

17.80
#300C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#300C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C04
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C04#FFFFFF#000000##FFFFFF
##300C041.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161303
Deuteranopia (green-blind)
#1F1B03
Tritanopia (blue-blind)
#36040A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300c04;
/* rgb */ color: rgb(48, 12, 4);
/* oklch */ color: oklch(21.5% 0.061 35.7);
Tailwind
colors: {
  custom: {
    50: '#6b4c48',
    500: '#300c04',
    950: '#000000',
  },
}
SCSS
$custom: #300c04;
$custom-light: #6b4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#300c04",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 4
  },
  "hsl": {
    "h": 10.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21476,
    "c": 0.06142,
    "h": 35.7
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#300C04
secondary
#1D6372
accent
#D5FB2D
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #300C04

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

Preview Lab → · Contrast checker → · Palette generator →

#300C04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva