#40030B#40030B

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

Color values

HEX#40030B
RGBrgb(64, 3, 11)
HSLhsl(352, 91%, 13%)
HSVhsv(352, 95%, 25%)
CMYKcmyk(0%, 95.3%, 82.8%, 74.9%)
CIE-LABlab(10.41, 28.84, 11.82)
CIE-LCHlch(10.41, 31.17, 22.29°)
OKLaboklab(23.89% 0.0847 0.0318)
OKLCHoklch(23.89% 0.09 20.6)
XYZxyz(2.2076, 1.1796, 0.4280)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40030B #034038
analogous
#400329 #40030B #401903
triadic
#40030B #0B4003 #030B40
tetradic
#40030B #294003 #034038 #190340
square
#40030B #294003 #034038 #190340
split-complementary
#40030B #034019 #032940
monochromatic
#1D0105 #1D0105 #40030B #7A0615 #B5081F

Accessibility & contrast

On white

16.99
#40030B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40030B
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40030B#FFFFFF#000000##FFFFFF
##40030B1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40030b;
/* rgb */ color: rgb(64, 3, 11);
/* oklch */ color: oklch(23.9% 0.090 20.6);
Tailwind
colors: {
  custom: {
    50: '#7a4b4b',
    500: '#40030b',
    950: '#000000',
  },
}
SCSS
$custom: #40030b;
$custom-light: #7a4b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40030b",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 11
  },
  "hsl": {
    "h": 352.131,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23891,
    "c": 0.09045,
    "h": 20.6
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#40030B
secondary
#1D8275
accent
#FFE329
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #40030B

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

Preview Lab → · Contrast checker → · Palette generator →

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