#9D405C#9D405C

#9D405C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.4% C 0.127 H 4.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D405C
RGBrgb(157, 64, 92)
HSLhsl(342, 42%, 43%)
HSVhsv(342, 59%, 62%)
CMYKcmyk(0%, 59.2%, 41.4%, 38.4%)
CIE-LABlab(40.59, 41.45, 3.21)
CIE-LCHlch(40.59, 41.58, 4.43°)
OKLaboklab(50.42% 0.1263 0.0088)
OKLCHoklch(50.42% 0.127 4)
XYZxyz(17.6709, 11.6095, 11.4334)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D405C #409D81
analogous
#9D408A #9D405C #9D5240
triadic
#9D405C #5C9D40 #405C9D
tetradic
#9D405C #8A9D40 #409D81 #52409D
square
#9D405C #8A9D40 #409D81 #52409D
split-complementary
#9D405C #409D52 #408A9D
monochromatic
#461D29 #722E43 #9D405C #BD5D7A #CF899E

Accessibility & contrast

On white

6.32
#9D405C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D405C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D405C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D405C#FFFFFF#000000##FFFFFF
##9D405C1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545D
Deuteranopia (green-blind)
#6A665A
Tritanopia (blue-blind)
#AA364B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d405c;
/* rgb */ color: rgb(157, 64, 92);
/* oklch */ color: oklch(50.4% 0.127 4.0);
Tailwind
colors: {
  custom: {
    50: '#be798a',
    500: '#9d405c',
    950: '#000000',
  },
}
SCSS
$custom: #9d405c;
$custom-light: #be798a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d405c",
  "rgb": {
    "r": 157,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 341.935,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.12663,
    "h": 4
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#9D405C
secondary
#7FB9A8
accent
#D2AD56
background
#FCF7F8
surface
#F8EEF0
border
#D1C9CB
text
#13090B
muted
#827B7C

Preview Lab

Preview with #9D405C

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

Preview Lab → · Contrast checker → · Palette generator →

#9D405C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva