#40132D#40132D

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

Color values

HEX#40132D
RGBrgb(64, 19, 45)
HSLhsl(325, 54%, 16%)
HSVhsv(325, 70%, 25%)
CMYKcmyk(0%, 70.3%, 29.7%, 74.9%)
CIE-LABlab(14.09, 25.11, -6.23)
CIE-LCHlch(14.09, 25.87, 346.07°)
OKLaboklab(26.96% 0.0759 -0.0164)
OKLCHoklch(26.96% 0.078 347.8)
XYZxyz(2.8210, 1.7455, 2.6705)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40132D #134026
analogous
#3D1340 #40132D #401317
triadic
#40132D #2D4013 #132D40
tetradic
#40132D #403D13 #134026 #131740
square
#40132D #403D13 #134026 #131740
split-complementary
#40132D #174013 #13403D
monochromatic
#180711 #180711 #40132D #6F214E #9E2F6F

Accessibility & contrast

On white

15.57
#40132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40132D
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40132D#FFFFFF#000000##FFFFFF
##40132D1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40132d;
/* rgb */ color: rgb(64, 19, 45);
/* oklch */ color: oklch(27.0% 0.078 347.8);
Tailwind
colors: {
  custom: {
    50: '#775465',
    500: '#40132d',
    950: '#000000',
  },
}
SCSS
$custom: #40132d;
$custom-light: #775465;
$custom-dark: #000000;
JSON
{
  "hex": "#40132d",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 325.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2696,
    "c": 0.07767,
    "h": 347.8
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#40132D
secondary
#367952
accent
#DE884A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #40132D

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

Preview Lab → · Contrast checker → · Palette generator →

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