#9D2B7A#9D2B7A

#9D2B7A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 342.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9D2B7A
RGBrgb(157, 43, 122)
HSLhsl(318, 57%, 39%)
HSVhsv(318, 73%, 62%)
CMYKcmyk(0%, 72.6%, 22.3%, 38.4%)
CIE-LABlab(38.38, 54.22, -18.85)
CIE-LCHlch(38.38, 57.41, 340.83°)
OKLaboklab(49.14% 0.163 -0.0505)
OKLCHoklch(49.14% 0.171 342.8)
XYZxyz(18.2820, 10.3028, 19.4344)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B7A #2B9D4E
analogous
#872B9D #9D2B7A #9D2B41
triadic
#9D2B7A #7A9D2B #2B7A9D
tetradic
#9D2B7A #9D872B #2B9D4E #2B419D
square
#9D2B7A #9D872B #2B9D4E #2B419D
split-complementary
#9D2B7A #419D2B #2B9D87
monochromatic
#3D112F #6D1E55 #9D2B7A #CA3C9E #D76CB6

Accessibility & contrast

On white

6.86
#9D2B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D2B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B7A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B7A#FFFFFF#000000##FFFFFF
##9D2B7A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A72C4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2b7a;
/* rgb */ color: rgb(157, 43, 122);
/* oklch */ color: oklch(49.1% 0.171 342.8);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9d2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b7a;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b7a",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 318.421,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49137,
    "c": 0.17065,
    "h": 342.8
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#9D2B7A
secondary
#66BD81
accent
#E07648
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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