#401207#401207

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

Color values

HEX#401207
RGBrgb(64, 18, 7)
HSLhsl(12, 80%, 14%)
HSVhsv(12, 89%, 25%)
CMYKcmyk(0%, 71.9%, 89.1%, 74.9%)
CIE-LABlab(12.85, 21.71, 16.82)
CIE-LCHlch(12.85, 27.46, 37.77°)
OKLaboklab(25.7% 0.0612 0.0427)
OKLCHoklch(25.7% 0.075 34.9)
XYZxyz(2.3693, 1.5383, 0.3731)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401207 #073540
analogous
#400719 #401207 #402F07
triadic
#401207 #074012 #120740
tetradic
#401207 #194007 #073540 #2F0740
square
#401207 #194007 #073540 #2F0740
split-complementary
#401207 #07402F #071940
monochromatic
#1C0803 #1C0803 #401207 #77220D #AE3113

Accessibility & contrast

On white

16.06
#401207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401207
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401207#FFFFFF#000000##FFFFFF
##4012071.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B06
Deuteranopia (green-blind)
#2A2506
Tritanopia (blue-blind)
#470610
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401207;
/* rgb */ color: rgb(64, 18, 7);
/* oklch */ color: oklch(25.7% 0.075 34.9);
Tailwind
colors: {
  custom: {
    50: '#795249',
    500: '#401207',
    950: '#000000',
  },
}
SCSS
$custom: #401207;
$custom-light: #795249;
$custom-dark: #000000;
JSON
{
  "hex": "#401207",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 7
  },
  "hsl": {
    "h": 11.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25695,
    "c": 0.07457,
    "h": 34.9
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#401207
secondary
#246D7F
accent
#D1F731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401207

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

Preview Lab → · Contrast checker → · Palette generator →

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