#401427#401427

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

Color values

HEX#401427
RGBrgb(64, 20, 39)
HSLhsl(334, 52%, 16%)
HSVhsv(334, 69%, 25%)
CMYKcmyk(0%, 68.8%, 39.1%, 74.9%)
CIE-LABlab(14.04, 23.65, -1.93)
CIE-LCHlch(14.04, 23.73, 355.34°)
OKLaboklab(26.84% 0.0721 -0.0048)
OKLCHoklch(26.84% 0.072 356.2)
XYZxyz(2.7309, 1.7371, 2.1105)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401427 #14402D
analogous
#40143D #401427 #401714
triadic
#401427 #274014 #142740
tetradic
#401427 #3D4014 #14402D #171440
square
#401427 #3D4014 #14402D #171440
split-complementary
#401427 #144017 #143D40
monochromatic
#17070E #17070E #401427 #6F2343 #9D3160

Accessibility & contrast

On white

15.59
#401427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401427
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401427#FFFFFF#000000##FFFFFF
##4014271.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F28
Deuteranopia (green-blind)
#272726
Tritanopia (blue-blind)
#45111B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401427;
/* rgb */ color: rgb(64, 20, 39);
/* oklch */ color: oklch(26.8% 0.072 356.2);
Tailwind
colors: {
  custom: {
    50: '#775461',
    500: '#401427',
    950: '#000000',
  },
}
SCSS
$custom: #401427;
$custom-light: #775461;
$custom-dark: #000000;
JSON
{
  "hex": "#401427",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 334.091,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.07227,
    "h": 356.2
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#401427
secondary
#38785C
accent
#DC9E4C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401427

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

Preview Lab → · Contrast checker → · Palette generator →

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