#401428#401428

#401428 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.073 H 354.8°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#401428
RGBrgb(64, 20, 40)
HSLhsl(333, 52%, 16%)
HSVhsv(333, 69%, 25%)
CMYKcmyk(0%, 68.8%, 37.5%, 74.9%)
CIE-LABlab(14.08, 23.80, -2.60)
CIE-LCHlch(14.08, 23.94, 353.76°)
OKLaboklab(26.89% 0.0725 -0.0066)
OKLCHoklch(26.89% 0.073 354.8)
XYZxyz(2.7477, 1.7438, 2.1990)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401428 #14402C
analogous
#40143E #401428 #401614
triadic
#401428 #284014 #142840
tetradic
#401428 #3E4014 #14402C #161440
square
#401428 #3E4014 #14402C #161440
split-complementary
#401428 #144016 #143E40
monochromatic
#17070F #17070F #401428 #6F2345 #9D3162

Accessibility & contrast

On white

15.57
#401428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401428
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401428#FFFFFF#000000##FFFFFF
##4014281.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#272727
Tritanopia (blue-blind)
#45111C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401428;
/* rgb */ color: rgb(64, 20, 40);
/* oklch */ color: oklch(26.9% 0.073 354.8);
Tailwind
colors: {
  custom: {
    50: '#775461',
    500: '#401428',
    950: '#000000',
  },
}
SCSS
$custom: #401428;
$custom-light: #775461;
$custom-dark: #000000;
JSON
{
  "hex": "#401428",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 332.727,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26885,
    "c": 0.0728,
    "h": 354.8
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#401428
secondary
#38785B
accent
#DC9A4C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401428

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

Preview Lab → · Contrast checker → · Palette generator →

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