#30040B#30040B

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

Color values

HEX#30040B
RGBrgb(48, 4, 11)
HSLhsl(350, 85%, 10%)
HSVhsv(350, 92%, 19%)
CMYKcmyk(0%, 91.7%, 77.1%, 81.2%)
CIE-LABlab(6.68, 22.51, 5.95)
CIE-LCHlch(6.68, 23.28, 14.80°)
OKLaboklab(20.38% 0.0682 0.0201)
OKLCHoklch(20.38% 0.071 16.4)
XYZxyz(1.3229, 0.7396, 0.3896)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30040B #043029
analogous
#300421 #30040B #301304
triadic
#30040B #0B3004 #040B30
tetradic
#30040B #213004 #043029 #130430
square
#30040B #213004 #043029 #130430
split-complementary
#30040B #043013 #042130
monochromatic
#1C0206 #1C0206 #30040B #680918 #A10D25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30040B#FFFFFF#000000##FFFFFF
##30040B1.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)
#100F0B
Deuteranopia (green-blind)
#1B180A
Tritanopia (blue-blind)
#360007
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #30040b;
/* rgb */ color: rgb(48, 4, 11);
/* oklch */ color: oklch(20.4% 0.071 16.4);
Tailwind
colors: {
  custom: {
    50: '#6c484c',
    500: '#30040b',
    950: '#000000',
  },
}
SCSS
$custom: #30040b;
$custom-light: #6c484c;
$custom-dark: #000000;
JSON
{
  "hex": "#30040b",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 350.455,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20379,
    "c": 0.07115,
    "h": 16.4
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#30040B
secondary
#1D7265
accent
#FBDA2D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #30040B

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

Preview Lab → · Contrast checker → · Palette generator →

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