#9D2C7E#9D2C7E

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

Color values

HEX#9D2C7E
RGBrgb(157, 44, 126)
HSLhsl(316, 56%, 39%)
HSVhsv(316, 72%, 62%)
CMYKcmyk(0%, 72%, 19.7%, 38.4%)
CIE-LABlab(38.69, 54.42, -20.86)
CIE-LCHlch(38.69, 58.28, 339.03°)
OKLaboklab(49.42% 0.1626 -0.0561)
OKLCHoklch(49.42% 0.172 341)
XYZxyz(18.5717, 10.4776, 20.7789)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C7E #2C9D4B
analogous
#842C9D #9D2C7E #9D2C46
triadic
#9D2C7E #7E9D2C #2C7E9D
tetradic
#9D2C7E #9D842C #2C9D4B #2C469D
square
#9D2C7E #9D842C #2C9D4B #2C469D
split-complementary
#9D2C7E #469D2C #2C9D84
monochromatic
#3D1131 #6D1F58 #9D2C7E #C93DA3 #D66DB9

Accessibility & contrast

On white

6.78
#9D2C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C7E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C7E#FFFFFF#000000##FFFFFF
##9D2C7E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A72E51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2c7e;
/* rgb */ color: rgb(157, 44, 126);
/* oklch */ color: oklch(49.4% 0.172 341.0);
Tailwind
colors: {
  custom: {
    50: '#bd6fa3',
    500: '#9d2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c7e;
$custom-light: #bd6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c7e",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 316.46,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.17205,
    "h": 341
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#9D2C7E
secondary
#68BD7F
accent
#E07248
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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