#401B30#401B30

#401B30 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.4% C 0.065 H 346.9°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#401B30
RGBrgb(64, 27, 48)
HSLhsl(326, 41%, 18%)
HSVhsv(326, 58%, 25%)
CMYKcmyk(0%, 57.8%, 25%, 74.9%)
CIE-LABlab(15.94, 21.04, -5.60)
CIE-LCHlch(15.94, 21.77, 345.11°)
OKLaboklab(28.38% 0.063 -0.0147)
OKLCHoklch(28.38% 0.065 346.9)
XYZxyz(3.0399, 2.0875, 3.0386)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B30 #1B402B
analogous
#3D1B40 #401B30 #401B1D
triadic
#401B30 #30401B #1B3040
tetradic
#401B30 #403D1B #1B402B #1B1D40
square
#401B30 #403D1B #1B402B #1B1D40
split-complementary
#401B30 #1D401B #1B403D
monochromatic
#160910 #160910 #401B30 #6B2D50 #963F71

Accessibility & contrast

On white

14.82
#401B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B30
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B30#FFFFFF#000000##FFFFFF
##401B301.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2431
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#441A23
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401b30;
/* rgb */ color: rgb(64, 27, 48);
/* oklch */ color: oklch(28.4% 0.065 346.9);
Tailwind
colors: {
  custom: {
    50: '#765968',
    500: '#401b30',
    950: '#000000',
  },
}
SCSS
$custom: #401b30;
$custom-light: #765968;
$custom-dark: #000000;
JSON
{
  "hex": "#401b30",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 48
  },
  "hsl": {
    "h": 325.946,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.06472,
    "h": 346.9
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#401B30
secondary
#417558
accent
#D18C57
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401B30

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

Preview Lab → · Contrast checker → · Palette generator →

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