#401322#401322

#401322 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.5% C 0.072 H 2.7°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#401322
RGBrgb(64, 19, 34)
HSLhsl(340, 54%, 16%)
HSVhsv(340, 70%, 25%)
CMYKcmyk(0%, 70.3%, 46.9%, 74.9%)
CIE-LABlab(13.66, 23.51, 1.18)
CIE-LCHlch(13.66, 23.54, 2.87°)
OKLaboklab(26.5% 0.0718 0.0033)
OKLCHoklch(26.5% 0.072 2.7)
XYZxyz(2.6361, 1.6715, 1.6969)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401322 #134031
analogous
#401339 #401322 #401B13
triadic
#401322 #224013 #132240
tetradic
#401322 #394013 #134031 #1B1340
square
#401322 #394013 #134031 #1B1340
split-complementary
#401322 #13401B #133940
monochromatic
#18070D #18070D #401322 #6F213B #9E2F54

Accessibility & contrast

On white

15.74
#401322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401322
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401322#FFFFFF#000000##FFFFFF
##4013221.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D22
Deuteranopia (green-blind)
#282621
Tritanopia (blue-blind)
#460E19
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401322;
/* rgb */ color: rgb(64, 19, 34);
/* oklch */ color: oklch(26.5% 0.072 2.7);
Tailwind
colors: {
  custom: {
    50: '#77535c',
    500: '#401322',
    950: '#000000',
  },
}
SCSS
$custom: #401322;
$custom-light: #77535c;
$custom-dark: #000000;
JSON
{
  "hex": "#401322",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 340,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26499,
    "c": 0.07183,
    "h": 2.7
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#401322
secondary
#367962
accent
#DEAC4A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401322

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

Preview Lab → · Contrast checker → · Palette generator →

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