#400C29#400C29

#400C29 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.086 H 350.6°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#400C29
RGBrgb(64, 12, 41)
HSLhsl(327, 68%, 15%)
HSVhsv(327, 81%, 25%)
CMYKcmyk(0%, 81.2%, 35.9%, 74.9%)
CIE-LABlab(12.69, 27.87, -5.41)
CIE-LCHlch(12.69, 28.39, 349.01°)
OKLaboklab(25.87% 0.0851 -0.0141)
OKLCHoklch(25.87% 0.086 350.6)
XYZxyz(2.6462, 1.5133, 2.2501)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C29 #0C4023
analogous
#3D0C40 #400C29 #400C0F
triadic
#400C29 #29400C #0C2940
tetradic
#400C29 #403D0C #0C4023 #0C0F40
square
#400C29 #403D0C #0C4023 #0C0F40
split-complementary
#400C29 #0F400C #0C403D
monochromatic
#1A0511 #1A0511 #400C29 #74164A #A71F6B

Accessibility & contrast

On white

16.12
#400C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400C29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400C29
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C29#FFFFFF#000000##FFFFFF
##400C291.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2A
Deuteranopia (green-blind)
#232428
Tritanopia (blue-blind)
#450919
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400c29;
/* rgb */ color: rgb(64, 12, 41);
/* oklch */ color: oklch(25.9% 0.086 350.6);
Tailwind
colors: {
  custom: {
    50: '#785062',
    500: '#400c29',
    950: '#000000',
  },
}
SCSS
$custom: #400c29;
$custom-light: #785062;
$custom-dark: #000000;
JSON
{
  "hex": "#400c29",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 326.538,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25874,
    "c": 0.08627,
    "h": 350.6
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#400C29
secondary
#2C7C4F
accent
#EB8A3D
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400C29

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

Preview Lab → · Contrast checker → · Palette generator →

#400C29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva