#400C33#400C33

#400C33 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.093 H 339.7°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#400C33
RGBrgb(64, 12, 51)
HSLhsl(315, 68%, 15%)
HSVhsv(315, 81%, 25%)
CMYKcmyk(0%, 81.2%, 20.3%, 74.9%)
CIE-LABlab(13.18, 29.43, -11.97)
CIE-LCHlch(13.18, 31.77, 337.86°)
OKLaboklab(26.39% 0.0876 -0.0323)
OKLCHoklch(26.39% 0.093 339.7)
XYZxyz(2.8434, 1.5922, 3.2889)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C33 #0C4019
analogous
#330C40 #400C33 #400C19
triadic
#400C33 #33400C #0C3340
tetradic
#400C33 #40330C #0C4019 #0C1940
square
#400C33 #40330C #0C4019 #0C1940
split-complementary
#400C33 #19400C #0C4033
monochromatic
#1A0515 #1A0515 #400C33 #74165C #A71F85

Accessibility & contrast

On white

15.93
#400C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400C33
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C33#FFFFFF#000000##FFFFFF
##400C331.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D34
Deuteranopia (green-blind)
#202532
Tritanopia (blue-blind)
#440E1E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400c33;
/* rgb */ color: rgb(64, 12, 51);
/* oklch */ color: oklch(26.4% 0.093 339.7);
Tailwind
colors: {
  custom: {
    50: '#77506a',
    500: '#400c33',
    950: '#000000',
  },
}
SCSS
$custom: #400c33;
$custom-light: #77506a;
$custom-dark: #000000;
JSON
{
  "hex": "#400c33",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 315,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26392,
    "c": 0.09337,
    "h": 339.7
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#400C33
secondary
#2C7C40
accent
#EB683D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400C33

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

Preview Lab → · Contrast checker → · Palette generator →

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