#40132F#40132F

#40132F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.079 H 345.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#40132F
RGBrgb(64, 19, 47)
HSLhsl(323, 54%, 16%)
HSVhsv(323, 70%, 25%)
CMYKcmyk(0%, 70.3%, 26.6%, 74.9%)
CIE-LABlab(14.18, 25.44, -7.54)
CIE-LCHlch(14.18, 26.53, 343.49°)
OKLaboklab(27.06% 0.0765 -0.02)
OKLCHoklch(27.06% 0.079 345.4)
XYZxyz(2.8604, 1.7612, 2.8781)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40132F #134024
analogous
#3B1340 #40132F #401319
triadic
#40132F #2F4013 #132F40
tetradic
#40132F #403B13 #134024 #131940
square
#40132F #403B13 #134024 #131940
split-complementary
#40132F #194013 #13403B
monochromatic
#180711 #180711 #40132F #6F2152 #9E2F74

Accessibility & contrast

On white

15.53
#40132F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40132F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40132F#FFFFFF#000000##FFFFFF
##40132F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#24272E
Tritanopia (blue-blind)
#45121F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #40132f;
/* rgb */ color: rgb(64, 19, 47);
/* oklch */ color: oklch(27.1% 0.079 345.4);
Tailwind
colors: {
  custom: {
    50: '#775467',
    500: '#40132f',
    950: '#000000',
  },
}
SCSS
$custom: #40132f;
$custom-light: #775467;
$custom-dark: #000000;
JSON
{
  "hex": "#40132f",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 47
  },
  "hsl": {
    "h": 322.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27056,
    "c": 0.07911,
    "h": 345.4
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#40132F
secondary
#36794F
accent
#DE824A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #40132F

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

Preview Lab → · Contrast checker → · Palette generator →

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