#9D2E7A#9D2E7A

#9D2E7A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.167 H 343.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D2E7A
RGBrgb(157, 46, 122)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 70.7%, 22.3%, 38.4%)
CIE-LABlab(38.78, 53.12, -18.24)
CIE-LCHlch(38.78, 56.16, 341.05°)
OKLaboklab(49.42% 0.1596 -0.0488)
OKLCHoklch(49.42% 0.167 343)
XYZxyz(18.3951, 10.5291, 19.4721)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E7A #2E9D51
analogous
#892E9D #9D2E7A #9D2E42
triadic
#9D2E7A #7A9D2E #2E7A9D
tetradic
#9D2E7A #9D892E #2E9D51 #2E429D
square
#9D2E7A #9D892E #2E9D51 #2E429D
split-complementary
#9D2E7A #429D2E #2E9D89
monochromatic
#3E1230 #6E2055 #9D2E7A #C7419D #D570B5

Accessibility & contrast

On white

6.76
#9D2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E7A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E7A#FFFFFF#000000##FFFFFF
##9D2E7A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5A6277
Tritanopia (blue-blind)
#A72E50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e7a;
/* rgb */ color: rgb(157, 46, 122);
/* oklch */ color: oklch(49.4% 0.167 343.0);
Tailwind
colors: {
  custom: {
    50: '#bd70a0',
    500: '#9d2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e7a;
$custom-light: #bd70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e7a",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 318.919,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.16692,
    "h": 343
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9D2E7A
secondary
#6ABD84
accent
#DE794A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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