#400A33#400A33

#400A33 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.2% C 0.096 H 339.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#400A33
RGBrgb(64, 10, 51)
HSLhsl(314, 73%, 15%)
HSVhsv(314, 84%, 25%)
CMYKcmyk(0%, 84.4%, 20.3%, 74.9%)
CIE-LABlab(12.90, 30.23, -12.41)
CIE-LCHlch(12.90, 32.68, 337.68°)
OKLaboklab(26.19% 0.09 -0.0336)
OKLCHoklch(26.19% 0.096 339.6)
XYZxyz(2.8205, 1.5464, 3.2813)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A33 #0A4017
analogous
#320A40 #400A33 #400A18
triadic
#400A33 #33400A #0A3340
tetradic
#400A33 #40320A #0A4017 #0A1840
square
#400A33 #40320A #0A4017 #0A1840
split-complementary
#400A33 #18400A #0A4032
monochromatic
#1A0415 #1A0415 #400A33 #75125D #AA1B87

Accessibility & contrast

On white

16.04
#400A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400A33
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A33#FFFFFF#000000##FFFFFF
##400A331.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C34
Deuteranopia (green-blind)
#1F2432
Tritanopia (blue-blind)
#440C1D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400a33;
/* rgb */ color: rgb(64, 10, 51);
/* oklch */ color: oklch(26.2% 0.096 339.6);
Tailwind
colors: {
  custom: {
    50: '#77506a',
    500: '#400a33',
    950: '#000000',
  },
}
SCSS
$custom: #400a33;
$custom-light: #77506a;
$custom-dark: #000000;
JSON
{
  "hex": "#400a33",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 314.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26187,
    "c": 0.09606,
    "h": 339.6
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#400A33
secondary
#297D3D
accent
#F06438
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400A33

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

Preview Lab → · Contrast checker → · Palette generator →

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