#401229#401229

#401229 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.6% C 0.077 H 352.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#401229
RGBrgb(64, 18, 41)
HSLhsl(330, 56%, 16%)
HSVhsv(330, 72%, 25%)
CMYKcmyk(0%, 71.9%, 35.9%, 74.9%)
CIE-LABlab(13.73, 25.01, -3.86)
CIE-LCHlch(13.73, 25.31, 351.23°)
OKLaboklab(26.64% 0.0762 -0.0099)
OKLCHoklch(26.64% 0.077 352.6)
XYZxyz(2.7310, 1.6830, 2.2784)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401229 #124029
analogous
#401240 #401229 #401212
triadic
#401229 #294012 #122940
tetradic
#401229 #404012 #124029 #121240
square
#401229 #404012 #124029 #121240
split-complementary
#401229 #124012 #124040
monochromatic
#18070F #18070F #401229 #701F48 #A02D66

Accessibility & contrast

On white

15.71
#401229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401229
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401229#FFFFFF#000000##FFFFFF
##4012291.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2A
Deuteranopia (green-blind)
#262628
Tritanopia (blue-blind)
#450F1B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401229;
/* rgb */ color: rgb(64, 18, 41);
/* oklch */ color: oklch(26.6% 0.077 352.6);
Tailwind
colors: {
  custom: {
    50: '#775362',
    500: '#401229',
    950: '#000000',
  },
}
SCSS
$custom: #401229;
$custom-light: #775362;
$custom-dark: #000000;
JSON
{
  "hex": "#401229",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 330,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26636,
    "c": 0.07683,
    "h": 352.6
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#401229
secondary
#357957
accent
#DF9448
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #401229

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

Preview Lab → · Contrast checker → · Palette generator →

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