#40032B#40032B

#40032B is a dark, moderate pink. Relative luminance 0.013; OKLCH L 25.0% C 0.100 H 346.6°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#40032B
RGBrgb(64, 3, 43)
HSLhsl(321, 91%, 13%)
HSVhsv(321, 95%, 25%)
CMYKcmyk(0%, 95.3%, 32.8%, 74.9%)
CIE-LABlab(11.48, 31.87, -8.74)
CIE-LCHlch(11.48, 33.05, 344.67°)
OKLaboklab(25.03% 0.0973 -0.0231)
OKLCHoklch(25.03% 0.1 346.6)
XYZxyz(2.5831, 1.3298, 2.4057)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40032B #034018
analogous
#360340 #40032B #40030C
triadic
#40032B #2B4003 #032B40
tetradic
#40032B #403603 #034018 #030C40
square
#40032B #403603 #034018 #030C40
split-complementary
#40032B #0C4003 #034036
monochromatic
#1D0114 #1D0114 #40032B #7A0652 #B5087A

Accessibility & contrast

On white

16.59
#40032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40032B
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40032B#FFFFFF#000000##FFFFFF
##40032B1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182C
Deuteranopia (green-blind)
#20222A
Tritanopia (blue-blind)
#450116
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40032b;
/* rgb */ color: rgb(64, 3, 43);
/* oklch */ color: oklch(25.0% 0.100 346.6);
Tailwind
colors: {
  custom: {
    50: '#784c64',
    500: '#40032b',
    950: '#000000',
  },
}
SCSS
$custom: #40032b;
$custom-light: #784c64;
$custom-dark: #000000;
JSON
{
  "hex": "#40032b",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 320.656,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25026,
    "c": 0.10004,
    "h": 346.6
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#40032B
secondary
#1D8240
accent
#FF7329
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090105
muted
#7B7779

Preview Lab

Preview with #40032B

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

Preview Lab → · Contrast checker → · Palette generator →

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