#401435#401435

#401435 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.5% C 0.082 H 338.6°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#401435
RGBrgb(64, 20, 53)
HSLhsl(315, 52%, 16%)
HSVhsv(315, 69%, 25%)
CMYKcmyk(0%, 68.8%, 17.2%, 74.9%)
CIE-LABlab(14.67, 25.96, -11.11)
CIE-LCHlch(14.67, 28.24, 336.82°)
OKLaboklab(27.51% 0.0765 -0.03)
OKLCHoklch(27.51% 0.082 338.6)
XYZxyz(3.0072, 1.8476, 3.5657)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401435 #14401F
analogous
#351440 #401435 #40141F
triadic
#401435 #354014 #143540
tetradic
#401435 #403514 #14401F #141F40
square
#401435 #403514 #14401F #141F40
split-complementary
#401435 #1F4014 #144035
monochromatic
#170713 #170713 #401435 #6F235C #9D3182

Accessibility & contrast

On white

15.34
#401435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401435
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401435#FFFFFF#000000##FFFFFF
##4014351.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162136
Deuteranopia (green-blind)
#232834
Tritanopia (blue-blind)
#441522
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401435;
/* rgb */ color: rgb(64, 20, 53);
/* oklch */ color: oklch(27.5% 0.082 338.6);
Tailwind
colors: {
  custom: {
    50: '#77556c',
    500: '#401435',
    950: '#000000',
  },
}
SCSS
$custom: #401435;
$custom-light: #77556c;
$custom-dark: #000000;
JSON
{
  "hex": "#401435",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 53
  },
  "hsl": {
    "h": 315,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27509,
    "c": 0.0822,
    "h": 338.6
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#401435
secondary
#387848
accent
#DC704C
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401435

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

Preview Lab → · Contrast checker → · Palette generator →

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