#40060D#40060D

#40060D is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.3% C 0.087 H 20.5°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#40060D
RGBrgb(64, 6, 13)
HSLhsl(353, 83%, 14%)
HSVhsv(353, 91%, 25%)
CMYKcmyk(0%, 90.6%, 79.7%, 74.9%)
CIE-LABlab(10.92, 27.59, 11.63)
CIE-LCHlch(10.92, 29.94, 22.85°)
OKLaboklab(24.28% 0.0812 0.0303)
OKLCHoklch(24.28% 0.087 20.5)
XYZxyz(2.2524, 1.2497, 0.5033)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40060D #064039
analogous
#40062A #40060D #401C06
triadic
#40060D #0D4006 #060D40
tetradic
#40060D #2A4006 #064039 #1C0640
square
#40060D #2A4006 #064039 #1C0640
split-complementary
#40060D #06401C #062A40
monochromatic
#1C0306 #1C0306 #40060D #780B18 #B01024

Accessibility & contrast

On white

16.80
#40060D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#40060D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40060D
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40060D#FFFFFF#000000##FFFFFF
##40060D1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18150D
Deuteranopia (green-blind)
#26220B
Tritanopia (blue-blind)
#470009
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #40060d;
/* rgb */ color: rgb(64, 6, 13);
/* oklch */ color: oklch(24.3% 0.087 20.5);
Tailwind
colors: {
  custom: {
    50: '#7a4c4c',
    500: '#40060d',
    950: '#000000',
  },
}
SCSS
$custom: #40060d;
$custom-light: #7a4c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40060d",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 13
  },
  "hsl": {
    "h": 352.759,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24281,
    "c": 0.0867,
    "h": 20.5
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#40060D
secondary
#228074
accent
#F9E12F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #40060D

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

Preview Lab → · Contrast checker → · Palette generator →

#40060D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva