#40132B#40132B

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

Color values

HEX#40132B
RGBrgb(64, 19, 43)
HSLhsl(328, 54%, 16%)
HSVhsv(328, 70%, 25%)
CMYKcmyk(0%, 70.3%, 32.8%, 74.9%)
CIE-LABlab(14.00, 24.79, -4.91)
CIE-LCHlch(14.00, 25.27, 348.81°)
OKLaboklab(26.87% 0.0753 -0.0127)
OKLCHoklch(26.87% 0.076 350.4)
XYZxyz(2.7834, 1.7304, 2.4725)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40132B #134028
analogous
#3F1340 #40132B #401315
triadic
#40132B #2B4013 #132B40
tetradic
#40132B #403F13 #134028 #131540
square
#40132B #403F13 #134028 #131540
split-complementary
#40132B #154013 #13403F
monochromatic
#180710 #180710 #40132B #6F214B #9E2F6A

Accessibility & contrast

On white

15.60
#40132B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40132B
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40132B#FFFFFF#000000##FFFFFF
##40132B1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2C
Deuteranopia (green-blind)
#25272A
Tritanopia (blue-blind)
#45111D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #40132b;
/* rgb */ color: rgb(64, 19, 43);
/* oklch */ color: oklch(26.9% 0.076 350.4);
Tailwind
colors: {
  custom: {
    50: '#775464',
    500: '#40132b',
    950: '#000000',
  },
}
SCSS
$custom: #40132b;
$custom-light: #775464;
$custom-dark: #000000;
JSON
{
  "hex": "#40132b",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 43
  },
  "hsl": {
    "h": 328,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26868,
    "c": 0.07633,
    "h": 350.4
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#40132B
secondary
#367955
accent
#DE8F4A
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #40132B

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

Preview Lab → · Contrast checker → · Palette generator →

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