#40132A#40132A

#40132A is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.076 H 351.7°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#40132A
RGBrgb(64, 19, 42)
HSLhsl(329, 54%, 16%)
HSVhsv(329, 70%, 25%)
CMYKcmyk(0%, 70.3%, 34.4%, 74.9%)
CIE-LABlab(13.96, 24.64, -4.24)
CIE-LCHlch(13.96, 25.00, 350.24°)
OKLaboklab(26.82% 0.0749 -0.0109)
OKLCHoklch(26.82% 0.076 351.7)
XYZxyz(2.7653, 1.7232, 2.3770)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40132A #134029
analogous
#401340 #40132A #401314
triadic
#40132A #2A4013 #132A40
tetradic
#40132A #404013 #134029 #131440
square
#40132A #404013 #134029 #131440
split-complementary
#40132A #144013 #134040
monochromatic
#18070F #18070F #40132A #6F2149 #9E2F68

Accessibility & contrast

On white

15.62
#40132A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#40132A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40132A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40132A#FFFFFF#000000##FFFFFF
##40132A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#262729
Tritanopia (blue-blind)
#45111C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #40132a;
/* rgb */ color: rgb(64, 19, 42);
/* oklch */ color: oklch(26.8% 0.076 351.7);
Tailwind
colors: {
  custom: {
    50: '#775463',
    500: '#40132a',
    950: '#000000',
  },
}
SCSS
$custom: #40132a;
$custom-light: #775463;
$custom-dark: #000000;
JSON
{
  "hex": "#40132a",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 42
  },
  "hsl": {
    "h": 329.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26823,
    "c": 0.07571,
    "h": 351.7
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#40132A
secondary
#367957
accent
#DE924A
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #40132A

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

Preview Lab → · Contrast checker → · Palette generator →

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