#401425#401425

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

Color values

HEX#401425
RGBrgb(64, 20, 37)
HSLhsl(337, 52%, 16%)
HSVhsv(337, 69%, 25%)
CMYKcmyk(0%, 68.8%, 42.2%, 74.9%)
CIE-LABlab(13.97, 23.36, -0.57)
CIE-LCHlch(13.97, 23.37, 358.59°)
OKLaboklab(26.76% 0.0713 -0.0012)
OKLCHoklch(26.76% 0.071 359)
XYZxyz(2.6986, 1.7242, 1.9406)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401425 #14402F
analogous
#40143B #401425 #401914
triadic
#401425 #254014 #142540
tetradic
#401425 #3B4014 #14402F #191440
square
#401425 #3B4014 #14402F #191440
split-complementary
#401425 #144019 #143B40
monochromatic
#17070D #17070D #401425 #6F2340 #9D315B

Accessibility & contrast

On white

15.62
#401425 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401425
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401425#FFFFFF#000000##FFFFFF
##4014251.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1E25
Deuteranopia (green-blind)
#272724
Tritanopia (blue-blind)
#46101B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401425;
/* rgb */ color: rgb(64, 20, 37);
/* oklch */ color: oklch(26.8% 0.071 359.0);
Tailwind
colors: {
  custom: {
    50: '#77545f',
    500: '#401425',
    950: '#000000',
  },
}
SCSS
$custom: #401425;
$custom-light: #77545f;
$custom-dark: #000000;
JSON
{
  "hex": "#401425",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 37
  },
  "hsl": {
    "h": 336.818,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26763,
    "c": 0.07132,
    "h": 359
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#401425
secondary
#38785F
accent
#DCA44C
background
#F7F4F5
surface
#EDE8E9
border
#C8C4C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401425

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

Preview Lab → · Contrast checker → · Palette generator →

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