#40032A#40032A

#40032A is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 25.0% C 0.099 H 347.6°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#40032A
RGBrgb(64, 3, 42)
HSLhsl(322, 91%, 13%)
HSVhsv(322, 95%, 25%)
CMYKcmyk(0%, 95.3%, 34.4%, 74.9%)
CIE-LABlab(11.43, 31.73, -8.07)
CIE-LCHlch(11.43, 32.74, 345.73°)
OKLaboklab(24.97% 0.0971 -0.0213)
OKLCHoklch(24.97% 0.099 347.6)
XYZxyz(2.5650, 1.3226, 2.3103)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40032A #034019
analogous
#370340 #40032A #40030C
triadic
#40032A #2A4003 #032A40
tetradic
#40032A #403703 #034019 #030C40
square
#40032A #403703 #034019 #030C40
split-complementary
#40032A #0C4003 #034037
monochromatic
#1D0113 #1D0113 #40032A #7A0650 #B50877

Accessibility & contrast

On white

16.61
#40032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#40032A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40032A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40032A#FFFFFF#000000##FFFFFF
##40032A1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182B
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#450116
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40032a;
/* rgb */ color: rgb(64, 3, 42);
/* oklch */ color: oklch(25.0% 0.099 347.6);
Tailwind
colors: {
  custom: {
    50: '#784c63',
    500: '#40032a',
    950: '#000000',
  },
}
SCSS
$custom: #40032a;
$custom-light: #784c63;
$custom-dark: #000000;
JSON
{
  "hex": "#40032a",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 321.639,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24973,
    "c": 0.0994,
    "h": 347.6
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#40032A
secondary
#1D8241
accent
#FF7629
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090105
muted
#7B7779

Preview Lab

Preview with #40032A

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

Preview Lab → · Contrast checker → · Palette generator →

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