#40030A#40030A

#40030A is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.9% C 0.091 H 21.4°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#40030A
RGBrgb(64, 3, 10)
HSLhsl(353, 91%, 13%)
HSVhsv(353, 95%, 25%)
CMYKcmyk(0%, 95.3%, 84.4%, 74.9%)
CIE-LABlab(10.39, 28.79, 12.21)
CIE-LCHlch(10.39, 31.27, 22.99°)
OKLaboklab(23.87% 0.0843 0.0331)
OKLCHoklch(23.87% 0.091 21.4)
XYZxyz(2.2020, 1.1774, 0.3984)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40030A #034039
analogous
#400328 #40030A #401A03
triadic
#40030A #0A4003 #030A40
tetradic
#40030A #284003 #034039 #1A0340
square
#40030A #284003 #034039 #1A0340
split-complementary
#40030A #03401A #032840
monochromatic
#1D0105 #1D0105 #40030A #7A0613 #B5081C

Accessibility & contrast

On white

17.00
#40030A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#40030A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40030A
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40030A#FFFFFF#000000##FFFFFF
##40030A1.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140A
Deuteranopia (green-blind)
#252108
Tritanopia (blue-blind)
#470006
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #40030a;
/* rgb */ color: rgb(64, 3, 10);
/* oklch */ color: oklch(23.9% 0.091 21.4);
Tailwind
colors: {
  custom: {
    50: '#7a4b4b',
    500: '#40030a',
    950: '#000000',
  },
}
SCSS
$custom: #40030a;
$custom-light: #7a4b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40030a",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 10
  },
  "hsl": {
    "h": 353.115,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23873,
    "c": 0.09051,
    "h": 21.4
  },
  "luminance": 0.01177
}

Semantic roles & 50–950 ramp

primary
#40030A
secondary
#1D8276
accent
#FFE629
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #40030A

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

Preview Lab → · Contrast checker → · Palette generator →

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