#401635#401635

#401635 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.8% C 0.079 H 338.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#401635
RGBrgb(64, 22, 53)
HSLhsl(316, 49%, 17%)
HSVhsv(316, 66%, 25%)
CMYKcmyk(0%, 65.6%, 17.2%, 74.9%)
CIE-LABlab(15.07, 24.87, -10.50)
CIE-LCHlch(15.07, 26.99, 337.12°)
OKLaboklab(27.81% 0.0733 -0.0283)
OKLCHoklch(27.81% 0.079 338.9)
XYZxyz(3.0439, 1.9211, 3.5780)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401635 #164021
analogous
#361640 #401635 #401620
triadic
#401635 #354016 #163540
tetradic
#401635 #403616 #164021 #162040
square
#401635 #403616 #164021 #162040
split-complementary
#401635 #204016 #164036
monochromatic
#170813 #170813 #401635 #6E265B #9B3580

Accessibility & contrast

On white

15.17
#401635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401635
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401635#FFFFFF#000000##FFFFFF
##4016351.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182236
Deuteranopia (green-blind)
#242834
Tritanopia (blue-blind)
#441723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401635;
/* rgb */ color: rgb(64, 22, 53);
/* oklch */ color: oklch(27.8% 0.079 338.9);
Tailwind
colors: {
  custom: {
    50: '#76566c',
    500: '#401635',
    950: '#000000',
  },
}
SCSS
$custom: #401635;
$custom-light: #76566c;
$custom-dark: #000000;
JSON
{
  "hex": "#401635",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 315.714,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27805,
    "c": 0.07855,
    "h": 338.9
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#401635
secondary
#3B774A
accent
#D8734F
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401635

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

Preview Lab → · Contrast checker → · Palette generator →

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