#9D2A6C#9D2A6C

#9D2A6C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.164 H 349.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D2A6C
RGBrgb(157, 42, 108)
HSLhsl(326, 58%, 39%)
HSVhsv(326, 73%, 62%)
CMYKcmyk(0%, 73.2%, 31.2%, 38.4%)
CIE-LABlab(37.68, 52.75, -11.15)
CIE-LCHlch(37.68, 53.92, 348.06°)
OKLaboklab(48.44% 0.161 -0.0291)
OKLCHoklch(48.44% 0.164 349.7)
XYZxyz(17.4403, 9.9087, 15.1786)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A6C #2A9D5B
analogous
#952A9D #9D2A6C #9D2A33
triadic
#9D2A6C #6C9D2A #2A6C9D
tetradic
#9D2A6C #9D952A #2A9D5B #2A339D
square
#9D2A6C #9D952A #2A9D5B #2A339D
split-complementary
#9D2A6C #339D2A #2A9D95
monochromatic
#3C102A #6D1D4B #9D2A6C #CA3A8D #D76AA9

Accessibility & contrast

On white

7.04
#9D2A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D2A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A6C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A6C#FFFFFF#000000##FFFFFF
##9D2A6C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6E
Deuteranopia (green-blind)
#5D6069
Tritanopia (blue-blind)
#A92447
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2a6c;
/* rgb */ color: rgb(157, 42, 108);
/* oklch */ color: oklch(48.4% 0.164 349.7);
Tailwind
colors: {
  custom: {
    50: '#be6e96',
    500: '#9d2a6c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a6c;
$custom-light: #be6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a6c",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 325.565,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.16361,
    "h": 349.7
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#9D2A6C
secondary
#65BE8B
accent
#E18847
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D2A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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