#401205#401205

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

Color values

HEX#401205
RGBrgb(64, 18, 5)
HSLhsl(13, 86%, 14%)
HSVhsv(13, 92%, 25%)
CMYKcmyk(0%, 71.9%, 92.2%, 74.9%)
CIE-LABlab(12.82, 21.60, 17.60)
CIE-LCHlch(12.82, 27.86, 39.17°)
OKLaboklab(25.67% 0.0603 0.0451)
OKLCHoklch(25.67% 0.075 36.8)
XYZxyz(2.3583, 1.5339, 0.3154)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401205 #053340
analogous
#400515 #401205 #402F05
triadic
#401205 #054012 #120540
tetradic
#401205 #154005 #053340 #2F0540
square
#401205 #154005 #053340 #2F0540
split-complementary
#401205 #05402F #051540
monochromatic
#1C0802 #1C0802 #401205 #792209 #B2320E

Accessibility & contrast

On white

16.07
#401205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401205
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401205#FFFFFF#000000##FFFFFF
##4012051.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B04
Deuteranopia (green-blind)
#2B2504
Tritanopia (blue-blind)
#47060F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401205;
/* rgb */ color: rgb(64, 18, 5);
/* oklch */ color: oklch(25.7% 0.075 36.8);
Tailwind
colors: {
  custom: {
    50: '#7a5249',
    500: '#401205',
    950: '#000000',
  },
}
SCSS
$custom: #401205;
$custom-light: #7a5249;
$custom-dark: #000000;
JSON
{
  "hex": "#401205",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 5
  },
  "hsl": {
    "h": 13.22,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25665,
    "c": 0.07527,
    "h": 36.8
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#401205
secondary
#206B81
accent
#CEFC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401205

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

Preview Lab → · Contrast checker → · Palette generator →

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