#401424#401424

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

Color values

HEX#401424
RGBrgb(64, 20, 36)
HSLhsl(338, 52%, 16%)
HSVhsv(338, 69%, 25%)
CMYKcmyk(0%, 68.8%, 43.8%, 74.9%)
CIE-LABlab(13.93, 23.23, 0.11)
CIE-LCHlch(13.93, 23.23, 0.26°)
OKLaboklab(26.73% 0.0709 0.0006)
OKLCHoklch(26.73% 0.071 0.5)
XYZxyz(2.6831, 1.7180, 1.8590)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401424 #144030
analogous
#40143A #401424 #401A14
triadic
#401424 #244014 #142440
tetradic
#401424 #3A4014 #144030 #1A1440
square
#401424 #3A4014 #144030 #1A1440
split-complementary
#401424 #14401A #143A40
monochromatic
#17070D #17070D #401424 #6F233E #9D3158

Accessibility & contrast

On white

15.63
#401424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401424
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401424#FFFFFF#000000##FFFFFF
##4014241.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1E24
Deuteranopia (green-blind)
#282723
Tritanopia (blue-blind)
#46101A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401424;
/* rgb */ color: rgb(64, 20, 36);
/* oklch */ color: oklch(26.7% 0.071 0.5);
Tailwind
colors: {
  custom: {
    50: '#77545e',
    500: '#401424',
    950: '#000000',
  },
}
SCSS
$custom: #401424;
$custom-light: #77545e;
$custom-dark: #000000;
JSON
{
  "hex": "#401424",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 36
  },
  "hsl": {
    "h": 338.182,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26725,
    "c": 0.07089,
    "h": 0.5
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#401424
secondary
#387861
accent
#DCA84C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401424

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

Preview Lab → · Contrast checker → · Palette generator →

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