#40060E#40060E

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

Color values

HEX#40060E
RGBrgb(64, 6, 14)
HSLhsl(352, 83%, 14%)
HSVhsv(352, 91%, 25%)
CMYKcmyk(0%, 90.6%, 78.1%, 74.9%)
CIE-LABlab(10.94, 27.65, 11.16)
CIE-LCHlch(10.94, 29.81, 21.98°)
OKLaboklab(24.3% 0.0817 0.0289)
OKLCHoklch(24.3% 0.087 19.5)
XYZxyz(2.2590, 1.2523, 0.5382)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40060E #064038
analogous
#40062B #40060E #401B06
triadic
#40060E #0E4006 #060E40
tetradic
#40060E #2B4006 #064038 #1B0640
square
#40060E #2B4006 #064038 #1B0640
split-complementary
#40060E #06401B #062B40
monochromatic
#1C0306 #1C0306 #40060E #780B1A #B01026

Accessibility & contrast

On white

16.79
#40060E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40060E
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40060E#FFFFFF#000000##FFFFFF
##40060E1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150E
Deuteranopia (green-blind)
#26220C
Tritanopia (blue-blind)
#470009
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #40060e;
/* rgb */ color: rgb(64, 6, 14);
/* oklch */ color: oklch(24.3% 0.087 19.5);
Tailwind
colors: {
  custom: {
    50: '#7a4c4d',
    500: '#40060e',
    950: '#000000',
  },
}
SCSS
$custom: #40060e;
$custom-light: #7a4c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40060e",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 14
  },
  "hsl": {
    "h": 351.724,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24301,
    "c": 0.08665,
    "h": 19.5
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#40060E
secondary
#228073
accent
#F9DD2F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #40060E

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

Preview Lab → · Contrast checker → · Palette generator →

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