#300504#300504

#300504 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.4% C 0.070 H 27.6°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#300504
RGBrgb(48, 5, 4)
HSLhsl(1, 85%, 10%)
HSVhsv(1, 92%, 19%)
CMYKcmyk(0%, 89.6%, 91.7%, 81.2%)
CIE-LABlab(6.74, 21.42, 8.89)
CIE-LCHlch(6.74, 23.19, 22.54°)
OKLaboklab(20.38% 0.0623 0.0326)
OKLCHoklch(20.38% 0.07 27.6)
XYZxyz(1.2953, 0.7459, 0.1906)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300504 #042F30
analogous
#300419 #300504 #301B04
triadic
#300504 #043005 #050430
tetradic
#300504 #193004 #042F30 #1B0430
square
#300504 #193004 #042F30 #1B0430
split-complementary
#300504 #04301B #041930
monochromatic
#1C0302 #1C0302 #300504 #680B09 #A1110D

Accessibility & contrast

On white

18.27
#300504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300504
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300504#FFFFFF#000000##FFFFFF
##3005041.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F04
Deuteranopia (green-blind)
#1C1803
Tritanopia (blue-blind)
#360005
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300504;
/* rgb */ color: rgb(48, 5, 4);
/* oklch */ color: oklch(20.4% 0.070 27.6);
Tailwind
colors: {
  custom: {
    50: '#6c4948',
    500: '#300504',
    950: '#000000',
  },
}
SCSS
$custom: #300504;
$custom-light: #6c4948;
$custom-dark: #000000;
JSON
{
  "hex": "#300504",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.364,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20376,
    "c": 0.07033,
    "h": 27.6
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#300504
secondary
#1D7172
accent
#F6FB2D
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #300504

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

Preview Lab → · Contrast checker → · Palette generator →

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