#401335#401335

#401335 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.4% C 0.084 H 338.5°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#401335
RGBrgb(64, 19, 53)
HSLhsl(315, 54%, 16%)
HSVhsv(315, 70%, 25%)
CMYKcmyk(0%, 70.3%, 17.2%, 74.9%)
CIE-LABlab(14.47, 26.49, -11.41)
CIE-LCHlch(14.47, 28.84, 336.69°)
OKLaboklab(27.37% 0.0781 -0.0308)
OKLCHoklch(27.37% 0.084 338.5)
XYZxyz(2.9899, 1.8130, 3.5600)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401335 #13401E
analogous
#351340 #401335 #40131F
triadic
#401335 #354013 #133540
tetradic
#401335 #403513 #13401E #131F40
square
#401335 #403513 #13401E #131F40
split-complementary
#401335 #1F4013 #134035
monochromatic
#180714 #180714 #401335 #6F215C #9E2F83

Accessibility & contrast

On white

15.41
#401335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#401335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401335
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401335#FFFFFF#000000##FFFFFF
##4013351.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152036
Deuteranopia (green-blind)
#222734
Tritanopia (blue-blind)
#441521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401335;
/* rgb */ color: rgb(64, 19, 53);
/* oklch */ color: oklch(27.4% 0.084 338.5);
Tailwind
colors: {
  custom: {
    50: '#77546c',
    500: '#401335',
    950: '#000000',
  },
}
SCSS
$custom: #401335;
$custom-light: #77546c;
$custom-dark: #000000;
JSON
{
  "hex": "#401335",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 314.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27368,
    "c": 0.08396,
    "h": 338.5
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#401335
secondary
#367946
accent
#DE6E4A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401335

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

Preview Lab → · Contrast checker → · Palette generator →

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