#401214#401214

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

Color values

HEX#401214
RGBrgb(64, 18, 20)
HSLhsl(357, 56%, 16%)
HSVhsv(357, 72%, 25%)
CMYKcmyk(0%, 71.9%, 68.8%, 74.9%)
CIE-LABlab(13.07, 22.55, 10.57)
CIE-LCHlch(13.07, 24.91, 25.11°)
OKLaboklab(25.93% 0.0669 0.0258)
OKLCHoklch(25.93% 0.072 21.1)
XYZxyz(2.4572, 1.5734, 0.8360)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401214 #12403E
analogous
#40122B #401214 #402712
triadic
#401214 #144012 #121440
tetradic
#401214 #2B4012 #12403E #271240
square
#401214 #2B4012 #12403E #271240
split-complementary
#401214 #124027 #122B40
monochromatic
#180707 #180707 #401214 #701F23 #A02D32

Accessibility & contrast

On white

15.97
#401214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401214
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401214#FFFFFF#000000##FFFFFF
##4012141.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C14
Deuteranopia (green-blind)
#292513
Tritanopia (blue-blind)
#470913
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401214;
/* rgb */ color: rgb(64, 18, 20);
/* oklch */ color: oklch(25.9% 0.072 21.1);
Tailwind
colors: {
  custom: {
    50: '#795251',
    500: '#401214',
    950: '#000000',
  },
}
SCSS
$custom: #401214;
$custom-light: #795251;
$custom-dark: #000000;
JSON
{
  "hex": "#401214",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 20
  },
  "hsl": {
    "h": 357.391,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25929,
    "c": 0.07172,
    "h": 21.1
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#401214
secondary
#357976
accent
#DFD948
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401214

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

Preview Lab → · Contrast checker → · Palette generator →

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