#401422#401422

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

Color values

HEX#401422
RGBrgb(64, 20, 34)
HSLhsl(341, 52%, 16%)
HSVhsv(341, 69%, 25%)
CMYKcmyk(0%, 68.8%, 46.9%, 74.9%)
CIE-LABlab(13.86, 22.96, 1.47)
CIE-LCHlch(13.86, 23.01, 3.67°)
OKLaboklab(26.65% 0.07 0.0041)
OKLCHoklch(26.65% 0.07 3.3)
XYZxyz(2.6534, 1.7061, 1.7026)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401422 #144032
analogous
#401438 #401422 #401C14
triadic
#401422 #224014 #142240
tetradic
#401422 #384014 #144032 #1C1440
square
#401422 #384014 #144032 #1C1440
split-complementary
#401422 #14401C #143840
monochromatic
#17070C #17070C #401422 #6F233B #9D3154

Accessibility & contrast

On white

15.66
#401422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401422
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401422#FFFFFF#000000##FFFFFF
##4014221.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401422;
/* rgb */ color: rgb(64, 20, 34);
/* oklch */ color: oklch(26.7% 0.070 3.3);
Tailwind
colors: {
  custom: {
    50: '#77545c',
    500: '#401422',
    950: '#000000',
  },
}
SCSS
$custom: #401422;
$custom-light: #77545c;
$custom-dark: #000000;
JSON
{
  "hex": "#401422",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 34
  },
  "hsl": {
    "h": 340.909,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2665,
    "c": 0.07015,
    "h": 3.3
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#401422
secondary
#387864
accent
#DCAE4C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401422

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

Preview Lab → · Contrast checker → · Palette generator →

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