#401B2F#401B2F

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

Color values

HEX#401B2F
RGBrgb(64, 27, 47)
HSLhsl(328, 41%, 18%)
HSVhsv(328, 58%, 25%)
CMYKcmyk(0%, 57.8%, 26.6%, 74.9%)
CIE-LABlab(15.90, 20.86, -4.94)
CIE-LCHlch(15.90, 21.44, 346.67°)
OKLaboklab(28.33% 0.0627 -0.0129)
OKLCHoklch(28.33% 0.064 348.3)
XYZxyz(3.0195, 2.0793, 2.9311)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B2F #1B402C
analogous
#3E1B40 #401B2F #401B1C
triadic
#401B2F #2F401B #1B2F40
tetradic
#401B2F #403E1B #1B402C #1B1C40
square
#401B2F #403E1B #1B402C #1B1C40
split-complementary
#401B2F #1C401B #1B403E
monochromatic
#160910 #160910 #401B2F #6B2D4F #963F6E

Accessibility & contrast

On white

14.83
#401B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B2F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B2F#FFFFFF#000000##FFFFFF
##401B2F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#441A23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b2f;
/* rgb */ color: rgb(64, 27, 47);
/* oklch */ color: oklch(28.3% 0.064 348.3);
Tailwind
colors: {
  custom: {
    50: '#765967',
    500: '#401b2f',
    950: '#000000',
  },
}
SCSS
$custom: #401b2f;
$custom-light: #765967;
$custom-dark: #000000;
JSON
{
  "hex": "#401b2f",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 327.568,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28332,
    "c": 0.06398,
    "h": 348.3
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#401B2F
secondary
#417559
accent
#D18F57
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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