#40032C#40032C

#40032C is a dark, moderate pink. Relative luminance 0.013; OKLCH L 25.1% C 0.101 H 345.6°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#40032C
RGBrgb(64, 3, 44)
HSLhsl(320, 91%, 13%)
HSVhsv(320, 95%, 25%)
CMYKcmyk(0%, 95.3%, 31.2%, 74.9%)
CIE-LABlab(11.53, 32.01, -9.40)
CIE-LCHlch(11.53, 33.36, 343.63°)
OKLaboklab(25.08% 0.0975 -0.025)
OKLCHoklch(25.08% 0.101 345.6)
XYZxyz(2.6017, 1.3373, 2.5035)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40032C #034017
analogous
#350340 #40032C #40030D
triadic
#40032C #2C4003 #032C40
tetradic
#40032C #403503 #034017 #030D40
square
#40032C #403503 #034017 #030D40
split-complementary
#40032C #0D4003 #034035
monochromatic
#1D0114 #1D0114 #40032C #7A0654 #B5087C

Accessibility & contrast

On white

16.57
#40032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#40032C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40032C
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40032C#FFFFFF#000000##FFFFFF
##40032C1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182D
Deuteranopia (green-blind)
#1F222B
Tritanopia (blue-blind)
#450217
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #40032c;
/* rgb */ color: rgb(64, 3, 44);
/* oklch */ color: oklch(25.1% 0.101 345.6);
Tailwind
colors: {
  custom: {
    50: '#784c65',
    500: '#40032c',
    950: '#000000',
  },
}
SCSS
$custom: #40032c;
$custom-light: #784c65;
$custom-dark: #000000;
JSON
{
  "hex": "#40032c",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 319.672,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25079,
    "c": 0.10068,
    "h": 345.6
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#40032C
secondary
#1D823E
accent
#FF6F29
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090105
muted
#7B777A

Preview Lab

Preview with #40032C

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

Preview Lab → · Contrast checker → · Palette generator →

#40032C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva