#401B29#401B29

#401B29 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.1% C 0.060 H 357.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#401B29
RGBrgb(64, 27, 41)
HSLhsl(337, 41%, 18%)
HSVhsv(337, 58%, 25%)
CMYKcmyk(0%, 57.8%, 35.9%, 74.9%)
CIE-LABlab(15.67, 19.87, -0.99)
CIE-LCHlch(15.67, 19.89, 357.16°)
OKLaboklab(28.08% 0.0603 -0.0023)
OKLCHoklch(28.08% 0.06 357.8)
XYZxyz(2.9066, 2.0342, 2.3370)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B29 #1B4032
analogous
#401B3B #401B29 #401F1B
triadic
#401B29 #29401B #1B2940
tetradic
#401B29 #3B401B #1B4032 #1F1B40
square
#401B29 #3B401B #1B4032 #1F1B40
split-complementary
#401B29 #1B401F #1B3B40
monochromatic
#16090E #16090E #401B29 #6B2D45 #963F60

Accessibility & contrast

On white

14.93
#401B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B29
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B29#FFFFFF#000000##FFFFFF
##401B291.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202329
Deuteranopia (green-blind)
#2A2A28
Tritanopia (blue-blind)
#451920
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b29;
/* rgb */ color: rgb(64, 27, 41);
/* oklch */ color: oklch(28.1% 0.060 357.8);
Tailwind
colors: {
  custom: {
    50: '#765962',
    500: '#401b29',
    950: '#000000',
  },
}
SCSS
$custom: #401b29;
$custom-light: #765962;
$custom-dark: #000000;
JSON
{
  "hex": "#401b29",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 337.297,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28082,
    "c": 0.06034,
    "h": 357.8
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#401B29
secondary
#417562
accent
#D1A357
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #401B29

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

Preview Lab → · Contrast checker → · Palette generator →

#401B29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva