#401211#401211

#401211 is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.9% C 0.072 H 24.8°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#401211
RGBrgb(64, 18, 17)
HSLhsl(1, 58%, 16%)
HSVhsv(1, 73%, 25%)
CMYKcmyk(0%, 71.9%, 73.4%, 74.9%)
CIE-LABlab(13.01, 22.32, 12.36)
CIE-LCHlch(13.01, 25.51, 28.97°)
OKLaboklab(25.86% 0.0655 0.0302)
OKLCHoklch(25.86% 0.072 24.8)
XYZxyz(2.4321, 1.5634, 0.7039)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401211 #113F40
analogous
#401127 #401211 #402911
triadic
#401211 #114012 #121140
tetradic
#401211 #274011 #113F40 #291140
square
#401211 #274011 #113F40 #291140
split-complementary
#401211 #114029 #112740
monochromatic
#180706 #180706 #401211 #70201E #A12D2B

Accessibility & contrast

On white

16.00
#401211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401211
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401211#FFFFFF#000000##FFFFFF
##4012111.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1B11
Deuteranopia (green-blind)
#2A2510
Tritanopia (blue-blind)
#470812
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401211;
/* rgb */ color: rgb(64, 18, 17);
/* oklch */ color: oklch(25.9% 0.072 24.8);
Tailwind
colors: {
  custom: {
    50: '#79524f',
    500: '#401211',
    950: '#000000',
  },
}
SCSS
$custom: #401211;
$custom-light: #79524f;
$custom-dark: #000000;
JSON
{
  "hex": "#401211",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 17
  },
  "hsl": {
    "h": 1.277,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25862,
    "c": 0.07212,
    "h": 24.8
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#401211
secondary
#337879
accent
#DEE147
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401211

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

Preview Lab → · Contrast checker → · Palette generator →

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