#300407#300407

#300407 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.071 H 21.9°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#300407
RGBrgb(48, 4, 7)
HSLhsl(356, 85%, 10%)
HSVhsv(356, 92%, 19%)
CMYKcmyk(0%, 91.7%, 85.4%, 81.2%)
CIE-LABlab(6.60, 22.18, 7.47)
CIE-LCHlch(6.60, 23.40, 18.61°)
OKLaboklab(20.28% 0.0662 0.0267)
OKLCHoklch(20.28% 0.071 21.9)
XYZxyz(1.3008, 0.7308, 0.2735)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300407 #04302D
analogous
#30041D #300407 #301704
triadic
#300407 #073004 #040730
tetradic
#300407 #1D3004 #04302D #170430
square
#300407 #1D3004 #04302D #170430
split-complementary
#300407 #043017 #041D30
monochromatic
#1C0204 #1C0204 #300407 #68090F #A10D17

Accessibility & contrast

On white

18.32
#300407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300407 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300407
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300407#FFFFFF#000000##FFFFFF
##3004071.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E07
Deuteranopia (green-blind)
#1C1806
Tritanopia (blue-blind)
#360005
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300407;
/* rgb */ color: rgb(48, 4, 7);
/* oklch */ color: oklch(20.3% 0.071 21.9);
Tailwind
colors: {
  custom: {
    50: '#6c484a',
    500: '#300407',
    950: '#000000',
  },
}
SCSS
$custom: #300407;
$custom-light: #6c484a;
$custom-dark: #000000;
JSON
{
  "hex": "#300407",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 7
  },
  "hsl": {
    "h": 355.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20283,
    "c": 0.07132,
    "h": 21.9
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#300407
secondary
#1D726D
accent
#FBED2D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #300407

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

Preview Lab → · Contrast checker → · Palette generator →

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