#401730#401730

#401730 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.073 H 345.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#401730
RGBrgb(64, 23, 48)
HSLhsl(323, 47%, 17%)
HSVhsv(323, 64%, 25%)
CMYKcmyk(0%, 64.1%, 25%, 74.9%)
CIE-LABlab(15.04, 23.41, -6.95)
CIE-LCHlch(15.04, 24.42, 343.46°)
OKLaboklab(27.71% 0.0702 -0.0184)
OKLCHoklch(27.71% 0.073 345.3)
XYZxyz(2.9543, 1.9164, 3.0100)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401730 #174027
analogous
#3C1740 #401730 #40171C
triadic
#401730 #304017 #173040
tetradic
#401730 #403C17 #174027 #171C40
square
#401730 #403C17 #174027 #171C40
split-complementary
#401730 #1C4017 #17403C
monochromatic
#170811 #170811 #401730 #6D2752 #9A3774

Accessibility & contrast

On white

15.18
#401730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401730
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401730#FFFFFF#000000##FFFFFF
##4017301.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2131
Deuteranopia (green-blind)
#26282F
Tritanopia (blue-blind)
#441721
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401730;
/* rgb */ color: rgb(64, 23, 48);
/* oklch */ color: oklch(27.7% 0.073 345.3);
Tailwind
colors: {
  custom: {
    50: '#765668',
    500: '#401730',
    950: '#000000',
  },
}
SCSS
$custom: #401730;
$custom-light: #765668;
$custom-dark: #000000;
JSON
{
  "hex": "#401730",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 323.415,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27709,
    "c": 0.07253,
    "h": 345.3
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#401730
secondary
#3C7753
accent
#D78551
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401730

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

Preview Lab → · Contrast checker → · Palette generator →

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