#401735#401735

#401735 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.0% C 0.077 H 339.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#401735
RGBrgb(64, 23, 53)
HSLhsl(316, 47%, 17%)
HSVhsv(316, 64%, 25%)
CMYKcmyk(0%, 64.1%, 17.2%, 74.9%)
CIE-LABlab(15.28, 24.31, -10.17)
CIE-LCHlch(15.28, 26.35, 337.29°)
OKLaboklab(27.96% 0.0716 -0.0274)
OKLCHoklch(27.96% 0.077 339.1)
XYZxyz(3.0634, 1.9601, 3.5845)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401735 #174022
analogous
#371740 #401735 #401721
triadic
#401735 #354017 #173540
tetradic
#401735 #403717 #174022 #172140
square
#401735 #403717 #174022 #172140
split-complementary
#401735 #214017 #174037
monochromatic
#170813 #170813 #401735 #6D275A #9A3780

Accessibility & contrast

On white

15.09
#401735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401735
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401735#FFFFFF#000000##FFFFFF
##4017351.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192236
Deuteranopia (green-blind)
#252934
Tritanopia (blue-blind)
#441823
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401735;
/* rgb */ color: rgb(64, 23, 53);
/* oklch */ color: oklch(28.0% 0.077 339.1);
Tailwind
colors: {
  custom: {
    50: '#76566c',
    500: '#401735',
    950: '#000000',
  },
}
SCSS
$custom: #401735;
$custom-light: #76566c;
$custom-dark: #000000;
JSON
{
  "hex": "#401735",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 316.098,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27959,
    "c": 0.07667,
    "h": 339.1
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#401735
secondary
#3C774C
accent
#D77551
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401735

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

Preview Lab → · Contrast checker → · Palette generator →

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