#401012#401012

#401012 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.6% C 0.075 H 21.8°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#401012
RGBrgb(64, 16, 18)
HSLhsl(358, 60%, 16%)
HSVhsv(358, 75%, 25%)
CMYKcmyk(0%, 75%, 71.9%, 74.9%)
CIE-LABlab(12.64, 23.44, 11.27)
CIE-LCHlch(12.64, 26.00, 25.67°)
OKLaboklab(25.59% 0.0693 0.0277)
OKLCHoklch(25.59% 0.075 21.8)
XYZxyz(2.4091, 1.5046, 0.7357)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401012 #10403E
analogous
#40102A #401012 #402610
triadic
#401012 #124010 #101240
tetradic
#401012 #2A4010 #10403E #261040
square
#401012 #2A4010 #10403E #261040
split-complementary
#401012 #104026 #102A40
monochromatic
#180607 #180607 #401012 #711C20 #A2282E

Accessibility & contrast

On white

16.14
#401012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401012
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401012#FFFFFF#000000##FFFFFF
##4010121.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1A12
Deuteranopia (green-blind)
#292511
Tritanopia (blue-blind)
#470611
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401012;
/* rgb */ color: rgb(64, 16, 18);
/* oklch */ color: oklch(25.6% 0.075 21.8);
Tailwind
colors: {
  custom: {
    50: '#79514f',
    500: '#401012',
    950: '#000000',
  },
}
SCSS
$custom: #401012;
$custom-light: #79514f;
$custom-dark: #000000;
JSON
{
  "hex": "#401012",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 357.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25592,
    "c": 0.07459,
    "h": 21.8
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#401012
secondary
#327A77
accent
#E3DD45
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #401012

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

Preview Lab → · Contrast checker → · Palette generator →

#401012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva