#40060A#40060A

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

Color values

HEX#40060A
RGBrgb(64, 6, 10)
HSLhsl(356, 83%, 14%)
HSVhsv(356, 91%, 25%)
CMYKcmyk(0%, 90.6%, 84.4%, 74.9%)
CIE-LABlab(10.87, 27.43, 12.88)
CIE-LCHlch(10.87, 30.30, 25.16°)
OKLaboklab(24.23% 0.0799 0.0343)
OKLCHoklch(24.23% 0.087 23.2)
XYZxyz(2.2345, 1.2425, 0.4093)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40060A #06403C
analogous
#400627 #40060A #401F06
triadic
#40060A #0A4006 #060A40
tetradic
#40060A #274006 #06403C #1F0640
square
#40060A #274006 #06403C #1F0640
split-complementary
#40060A #06401F #062740
monochromatic
#1C0304 #1C0304 #40060A #780B13 #B0101B

Accessibility & contrast

On white

16.82
#40060A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40060A
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40060A#FFFFFF#000000##FFFFFF
##40060A1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18150A
Deuteranopia (green-blind)
#262208
Tritanopia (blue-blind)
#470008
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #40060a;
/* rgb */ color: rgb(64, 6, 10);
/* oklch */ color: oklch(24.2% 0.087 23.2);
Tailwind
colors: {
  custom: {
    50: '#7a4c4b',
    500: '#40060a',
    950: '#000000',
  },
}
SCSS
$custom: #40060a;
$custom-light: #7a4c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40060a",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 10
  },
  "hsl": {
    "h": 355.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24227,
    "c": 0.08695,
    "h": 23.2
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#40060A
secondary
#228079
accent
#F9EB2F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #40060A

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

Preview Lab → · Contrast checker → · Palette generator →

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