#401722#401722

#401722 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.065 H 5.7°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#401722
RGBrgb(64, 23, 34)
HSLhsl(344, 47%, 17%)
HSVhsv(344, 64%, 25%)
CMYKcmyk(0%, 64.1%, 46.9%, 74.9%)
CIE-LABlab(14.51, 21.26, 2.40)
CIE-LCHlch(14.51, 21.39, 6.44°)
OKLaboklab(27.13% 0.0647 0.0064)
OKLCHoklch(27.13% 0.065 5.7)
XYZxyz(2.7097, 1.8186, 1.7214)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401722 #174035
analogous
#401737 #401722 #402117
triadic
#401722 #224017 #172240
tetradic
#401722 #374017 #174035 #211740
square
#401722 #374017 #174035 #211740
split-complementary
#401722 #174021 #173740
monochromatic
#17080C #17080C #401722 #6D273A #9A3752

Accessibility & contrast

On white

15.40
#401722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#401722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401722
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401722#FFFFFF#000000##FFFFFF
##4017221.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2022
Deuteranopia (green-blind)
#292821
Tritanopia (blue-blind)
#46131B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401722;
/* rgb */ color: rgb(64, 23, 34);
/* oklch */ color: oklch(27.1% 0.065 5.7);
Tailwind
colors: {
  custom: {
    50: '#77565c',
    500: '#401722',
    950: '#000000',
  },
}
SCSS
$custom: #401722;
$custom-light: #77565c;
$custom-dark: #000000;
JSON
{
  "hex": "#401722",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 34
  },
  "hsl": {
    "h": 343.902,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.06501,
    "h": 5.7
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#401722
secondary
#3C7767
accent
#D7B351
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401722

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

Preview Lab → · Contrast checker → · Palette generator →

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