#40030E#40030E

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

Color values

HEX#40030E
RGBrgb(64, 3, 14)
HSLhsl(349, 91%, 13%)
HSVhsv(349, 95%, 25%)
CMYKcmyk(0%, 95.3%, 78.1%, 74.9%)
CIE-LABlab(10.46, 29.00, 10.50)
CIE-LCHlch(10.46, 30.84, 19.90°)
OKLaboklab(23.95% 0.086 0.0276)
OKLCHoklch(23.95% 0.09 17.8)
XYZxyz(2.2264, 1.1872, 0.5273)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40030E #034035
analogous
#40032C #40030E #401603
triadic
#40030E #0E4003 #030E40
tetradic
#40030E #2C4003 #034035 #160340
square
#40030E #2C4003 #034035 #160340
split-complementary
#40030E #034016 #032C40
monochromatic
#1D0106 #1D0106 #40030E #7A061B #B50828

Accessibility & contrast

On white

16.97
#40030E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40030E
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40030E#FFFFFF#000000##FFFFFF
##40030E1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140E
Deuteranopia (green-blind)
#25210C
Tritanopia (blue-blind)
#470007
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #40030e;
/* rgb */ color: rgb(64, 3, 14);
/* oklch */ color: oklch(23.9% 0.090 17.8);
Tailwind
colors: {
  custom: {
    50: '#7a4b4d',
    500: '#40030e',
    950: '#000000',
  },
}
SCSS
$custom: #40030e;
$custom-light: #7a4b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40030e",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 14
  },
  "hsl": {
    "h": 349.18,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2395,
    "c": 0.09035,
    "h": 17.8
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#40030E
secondary
#1D8270
accent
#FFD829
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #40030E

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

Preview Lab → · Contrast checker → · Palette generator →

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