#401325#401325

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

Color values

HEX#401325
RGBrgb(64, 19, 37)
HSLhsl(336, 54%, 16%)
HSVhsv(336, 70%, 25%)
CMYKcmyk(0%, 70.3%, 42.2%, 74.9%)
CIE-LABlab(13.77, 23.91, -0.87)
CIE-LCHlch(13.77, 23.92, 357.92°)
OKLaboklab(26.61% 0.073 -0.002)
OKLCHoklch(26.61% 0.073 358.4)
XYZxyz(2.6813, 1.6896, 1.9348)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401325 #13402E
analogous
#40133C #401325 #401813
triadic
#401325 #254013 #132540
tetradic
#401325 #3C4013 #13402E #181340
square
#401325 #3C4013 #13402E #181340
split-complementary
#401325 #134018 #133C40
monochromatic
#18070E #18070E #401325 #6F2140 #9E2F5C

Accessibility & contrast

On white

15.70
#401325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401325
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401325#FFFFFF#000000##FFFFFF
##4013251.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E26
Deuteranopia (green-blind)
#272624
Tritanopia (blue-blind)
#460F1A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401325;
/* rgb */ color: rgb(64, 19, 37);
/* oklch */ color: oklch(26.6% 0.073 358.4);
Tailwind
colors: {
  custom: {
    50: '#77545f',
    500: '#401325',
    950: '#000000',
  },
}
SCSS
$custom: #401325;
$custom-light: #77545f;
$custom-dark: #000000;
JSON
{
  "hex": "#401325",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 37
  },
  "hsl": {
    "h": 336,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26613,
    "c": 0.07304,
    "h": 358.4
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#401325
secondary
#36795E
accent
#DEA34A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401325

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

Preview Lab → · Contrast checker → · Palette generator →

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