#30040A#30040A

#30040A is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.4% C 0.071 H 17.8°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#30040A
RGBrgb(48, 4, 10)
HSLhsl(352, 85%, 10%)
HSVhsv(352, 92%, 19%)
CMYKcmyk(0%, 91.7%, 79.2%, 81.2%)
CIE-LABlab(6.66, 22.43, 6.33)
CIE-LCHlch(6.66, 23.31, 15.76°)
OKLaboklab(20.35% 0.0677 0.0217)
OKLCHoklch(20.35% 0.071 17.8)
XYZxyz(1.3173, 0.7373, 0.3601)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30040A #04302A
analogous
#300420 #30040A #301404
triadic
#30040A #0A3004 #040A30
tetradic
#30040A #203004 #04302A #140430
square
#30040A #203004 #04302A #140430
split-complementary
#30040A #043014 #042030
monochromatic
#1C0206 #1C0206 #30040A #680916 #A10D22

Accessibility & contrast

On white

18.30
#30040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#30040A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30040A
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30040A#FFFFFF#000000##FFFFFF
##30040A1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0A
Deuteranopia (green-blind)
#1B1809
Tritanopia (blue-blind)
#360006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #30040a;
/* rgb */ color: rgb(48, 4, 10);
/* oklch */ color: oklch(20.4% 0.071 17.8);
Tailwind
colors: {
  custom: {
    50: '#6c484b',
    500: '#30040a',
    950: '#000000',
  },
}
SCSS
$custom: #30040a;
$custom-light: #6c484b;
$custom-dark: #000000;
JSON
{
  "hex": "#30040a",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 351.818,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20354,
    "c": 0.07114,
    "h": 17.8
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#30040A
secondary
#1D7267
accent
#FBDF2D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #30040A

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

Preview Lab → · Contrast checker → · Palette generator →

#30040A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva