#40032D#40032D

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

Color values

HEX#40032D
RGBrgb(64, 3, 45)
HSLhsl(319, 91%, 13%)
HSVhsv(319, 95%, 25%)
CMYKcmyk(0%, 95.3%, 29.7%, 74.9%)
CIE-LABlab(11.59, 32.15, -10.06)
CIE-LCHlch(11.59, 33.68, 342.63°)
OKLaboklab(25.13% 0.0977 -0.0268)
OKLCHoklch(25.13% 0.101 344.6)
XYZxyz(2.6207, 1.3449, 2.6037)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40032D #034016
analogous
#340340 #40032D #40030E
triadic
#40032D #2D4003 #032D40
tetradic
#40032D #403403 #034016 #030E40
square
#40032D #403403 #034016 #030E40
split-complementary
#40032D #0E4003 #034034
monochromatic
#1D0115 #1D0115 #40032D #7A0656 #B5087F

Accessibility & contrast

On white

16.55
#40032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40032D
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40032D#FFFFFF#000000##FFFFFF
##40032D1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40032d;
/* rgb */ color: rgb(64, 3, 45);
/* oklch */ color: oklch(25.1% 0.101 344.6);
Tailwind
colors: {
  custom: {
    50: '#784c66',
    500: '#40032d',
    950: '#000000',
  },
}
SCSS
$custom: #40032d;
$custom-light: #784c66;
$custom-dark: #000000;
JSON
{
  "hex": "#40032d",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 318.689,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25134,
    "c": 0.10134,
    "h": 344.6
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#40032D
secondary
#1D823C
accent
#FF6C29
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090105
muted
#7B777A

Preview Lab

Preview with #40032D

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

Preview Lab → · Contrast checker → · Palette generator →

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