#401727#401727

#401727 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.067 H 358.0°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#401727
RGBrgb(64, 23, 39)
HSLhsl(337, 47%, 17%)
HSVhsv(337, 64%, 25%)
CMYKcmyk(0%, 64.1%, 39.1%, 74.9%)
CIE-LABlab(14.68, 21.96, -0.99)
CIE-LCHlch(14.68, 21.98, 357.41°)
OKLaboklab(27.32% 0.0669 -0.0023)
OKLCHoklch(27.32% 0.067 358)
XYZxyz(2.7871, 1.8495, 2.1293)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401727 #174030
analogous
#40173C #401727 #401C17
triadic
#401727 #274017 #172740
tetradic
#401727 #3C4017 #174030 #1C1740
square
#401727 #3C4017 #174030 #1C1740
split-complementary
#401727 #17401C #173C40
monochromatic
#17080E #17080E #401727 #6D2742 #9A375E

Accessibility & contrast

On white

15.33
#401727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401727
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401727#FFFFFF#000000##FFFFFF
##4017271.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#282826
Tritanopia (blue-blind)
#45141D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401727;
/* rgb */ color: rgb(64, 23, 39);
/* oklch */ color: oklch(27.3% 0.067 358.0);
Tailwind
colors: {
  custom: {
    50: '#775660',
    500: '#401727',
    950: '#000000',
  },
}
SCSS
$custom: #401727;
$custom-light: #775660;
$custom-dark: #000000;
JSON
{
  "hex": "#401727",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 336.585,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27316,
    "c": 0.06689,
    "h": 358
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#401727
secondary
#3C7760
accent
#D7A351
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090305
muted
#7B7879

Preview Lab

Preview with #401727

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

Preview Lab → · Contrast checker → · Palette generator →

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