#402129#402129

#402129 is a dark, muted pink. Relative luminance 0.023; OKLCH L 29.2% C 0.049 H 4.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#402129
RGBrgb(64, 33, 41)
HSLhsl(345, 32%, 19%)
HSVhsv(345, 48%, 25%)
CMYKcmyk(0%, 48.4%, 35.9%, 74.9%)
CIE-LABlab(17.17, 16.06, 1.21)
CIE-LCHlch(17.17, 16.11, 4.30°)
OKLaboklab(29.22% 0.0487 0.0034)
OKLCHoklch(29.22% 0.049 4)
XYZxyz(3.0586, 2.3380, 2.3876)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402129 #214038
analogous
#402139 #402129 #402921
triadic
#402129 #294021 #212940
tetradic
#402129 #394021 #214038 #292140
square
#402129 #394021 #214038 #292140
split-complementary
#402129 #214029 #213940
monochromatic
#140A0D #180C0F #402129 #683643 #914B5D

Accessibility & contrast

On white

14.31
#402129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#402129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402129
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402129#FFFFFF#000000##FFFFFF
##4021291.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262729
Deuteranopia (green-blind)
#2E2C28
Tritanopia (blue-blind)
#451F24
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402129;
/* rgb */ color: rgb(64, 33, 41);
/* oklch */ color: oklch(29.2% 0.049 4.0);
Tailwind
colors: {
  custom: {
    50: '#765d62',
    500: '#402129',
    950: '#000000',
  },
}
SCSS
$custom: #402129;
$custom-light: #765d62;
$custom-dark: #000000;
JSON
{
  "hex": "#402129",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 344.516,
    "s": 31.959,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29218,
    "c": 0.04881,
    "h": 4
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#402129
secondary
#497469
accent
#C8AD60
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#080405
muted
#7B7979

Preview Lab

Preview with #402129

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

Preview Lab → · Contrast checker → · Palette generator →

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