#401B2E#401B2E

#401B2E is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.3% C 0.063 H 349.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#401B2E
RGBrgb(64, 27, 46)
HSLhsl(329, 41%, 18%)
HSVhsv(329, 58%, 25%)
CMYKcmyk(0%, 57.8%, 28.1%, 74.9%)
CIE-LABlab(15.86, 20.69, -4.29)
CIE-LCHlch(15.86, 21.13, 348.29°)
OKLaboklab(28.29% 0.0623 -0.0112)
OKLCHoklch(28.29% 0.063 349.8)
XYZxyz(2.9995, 2.0714, 2.8261)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B2E #1B402D
analogous
#3F1B40 #401B2E #401B1C
triadic
#401B2E #2E401B #1B2E40
tetradic
#401B2E #403F1B #1B402D #1B1C40
square
#401B2E #403F1B #1B402D #1B1C40
split-complementary
#401B2E #1C401B #1B403F
monochromatic
#16090F #16090F #401B2E #6B2D4D #963F6C

Accessibility & contrast

On white

14.85
#401B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B2E
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B2E#FFFFFF#000000##FFFFFF
##401B2E1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232F
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#441A22
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b2e;
/* rgb */ color: rgb(64, 27, 46);
/* oklch */ color: oklch(28.3% 0.063 349.8);
Tailwind
colors: {
  custom: {
    50: '#765966',
    500: '#401b2e',
    950: '#000000',
  },
}
SCSS
$custom: #401b2e;
$custom-light: #765966;
$custom-dark: #000000;
JSON
{
  "hex": "#401b2e",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 329.189,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.06328,
    "h": 349.8
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#401B2E
secondary
#41755B
accent
#D19257
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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