#401421#401421

#401421 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.6% C 0.070 H 4.8°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#401421
RGBrgb(64, 20, 33)
HSLhsl(342, 52%, 16%)
HSVhsv(342, 69%, 25%)
CMYKcmyk(0%, 68.8%, 48.4%, 74.9%)
CIE-LABlab(13.83, 22.83, 2.16)
CIE-LCHlch(13.83, 22.94, 5.40°)
OKLaboklab(26.62% 0.0696 0.0058)
OKLCHoklch(26.62% 0.07 4.8)
XYZxyz(2.6392, 1.7004, 1.6278)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401421 #144033
analogous
#401437 #401421 #401D14
triadic
#401421 #214014 #142140
tetradic
#401421 #374014 #144033 #1D1440
square
#401421 #374014 #144033 #1D1440
split-complementary
#401421 #14401D #143740
monochromatic
#17070C #17070C #401421 #6F2339 #9D3151

Accessibility & contrast

On white

15.67
#401421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401421
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401421#FFFFFF#000000##FFFFFF
##4014211.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E21
Deuteranopia (green-blind)
#282620
Tritanopia (blue-blind)
#460F19
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401421;
/* rgb */ color: rgb(64, 20, 33);
/* oklch */ color: oklch(26.6% 0.070 4.8);
Tailwind
colors: {
  custom: {
    50: '#77545c',
    500: '#401421',
    950: '#000000',
  },
}
SCSS
$custom: #401421;
$custom-light: #77545c;
$custom-dark: #000000;
JSON
{
  "hex": "#401421",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 33
  },
  "hsl": {
    "h": 342.273,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26615,
    "c": 0.06983,
    "h": 4.8
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#401421
secondary
#387865
accent
#DCB14C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401421

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

Preview Lab → · Contrast checker → · Palette generator →

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