#40132E#40132E

#40132E is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.0% C 0.078 H 346.6°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#40132E
RGBrgb(64, 19, 46)
HSLhsl(324, 54%, 16%)
HSVhsv(324, 70%, 25%)
CMYKcmyk(0%, 70.3%, 28.1%, 74.9%)
CIE-LABlab(14.14, 25.27, -6.89)
CIE-LCHlch(14.14, 26.19, 344.76°)
OKLaboklab(27.01% 0.0762 -0.0182)
OKLCHoklch(27.01% 0.078 346.6)
XYZxyz(2.8405, 1.7533, 2.7731)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40132E #134025
analogous
#3C1340 #40132E #401318
triadic
#40132E #2E4013 #132E40
tetradic
#40132E #403C13 #134025 #131840
square
#40132E #403C13 #134025 #131840
split-complementary
#40132E #184013 #13403C
monochromatic
#180711 #180711 #40132E #6F2150 #9E2F72

Accessibility & contrast

On white

15.55
#40132E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#40132E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40132E
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40132E#FFFFFF#000000##FFFFFF
##40132E1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#25272D
Tritanopia (blue-blind)
#45121E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #40132e;
/* rgb */ color: rgb(64, 19, 46);
/* oklch */ color: oklch(27.0% 0.078 346.6);
Tailwind
colors: {
  custom: {
    50: '#775466',
    500: '#40132e',
    950: '#000000',
  },
}
SCSS
$custom: #40132e;
$custom-light: #775466;
$custom-dark: #000000;
JSON
{
  "hex": "#40132e",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 46
  },
  "hsl": {
    "h": 324,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27008,
    "c": 0.07838,
    "h": 346.6
  },
  "luminance": 0.01753
}

Semantic roles & 50–950 ramp

primary
#40132E
secondary
#367951
accent
#DE854A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #40132E

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

Preview Lab → · Contrast checker → · Palette generator →

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