#9D2E76#9D2E76

#9D2E76 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.164 H 345.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2E76
RGBrgb(157, 46, 118)
HSLhsl(321, 55%, 40%)
HSVhsv(321, 71%, 62%)
CMYKcmyk(0%, 70.7%, 24.8%, 38.4%)
CIE-LABlab(38.61, 52.56, -16.01)
CIE-LCHlch(38.61, 54.95, 343.06°)
OKLaboklab(49.25% 0.1588 -0.0426)
OKLCHoklch(49.25% 0.164 345)
XYZxyz(18.1523, 10.4320, 18.1936)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E76 #2E9D55
analogous
#8D2E9D #9D2E76 #9D2E3F
triadic
#9D2E76 #769D2E #2E769D
tetradic
#9D2E76 #9D8D2E #2E9D55 #2E3F9D
square
#9D2E76 #9D8D2E #2E9D55 #2E3F9D
split-complementary
#9D2E76 #3F9D2E #2E9D8D
monochromatic
#3E122F #6E2052 #9D2E76 #C74198 #D570B2

Accessibility & contrast

On white

6.80
#9D2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E76
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E76#FFFFFF#000000##FFFFFF
##9D2E761.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e76;
/* rgb */ color: rgb(157, 46, 118);
/* oklch */ color: oklch(49.2% 0.164 345.0);
Tailwind
colors: {
  custom: {
    50: '#be709d',
    500: '#9d2e76',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e76;
$custom-light: #be709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e76",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 321.081,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49246,
    "c": 0.16439,
    "h": 345
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#9D2E76
secondary
#6ABD87
accent
#DE7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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