#9D2F86#9D2F86

#9D2F86 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.174 H 337.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9D2F86
RGBrgb(157, 47, 134)
HSLhsl(313, 54%, 40%)
HSVhsv(313, 70%, 62%)
CMYKcmyk(0%, 70.1%, 14.6%, 38.4%)
CIE-LABlab(39.45, 54.48, -24.61)
CIE-LCHlch(39.45, 59.78, 335.69°)
OKLaboklab(50.09% 0.1605 -0.0668)
OKLCHoklch(50.09% 0.174 337.4)
XYZxyz(19.2246, 10.9241, 23.6457)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F86 #2F9D46
analogous
#7D2F9D #9D2F86 #9D2F4F
triadic
#9D2F86 #869D2F #2F869D
tetradic
#9D2F86 #9D7D2F #2F9D46 #2F4F9D
square
#9D2F86 #9D7D2F #2F9D46 #2F4F9D
split-complementary
#9D2F86 #4F9D2F #2F9D7D
monochromatic
#3F1336 #6E215E #9D2F86 #C743AB #D572C0

Accessibility & contrast

On white

6.59
#9D2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D2F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F86
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F86#FFFFFF#000000##FFFFFF
##9D2F861.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#A53556
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2f86;
/* rgb */ color: rgb(157, 47, 134);
/* oklch */ color: oklch(50.1% 0.174 337.4);
Tailwind
colors: {
  custom: {
    50: '#bd71a9',
    500: '#9d2f86',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f86;
$custom-light: #bd71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f86",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 312.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.17384,
    "h": 337.4
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#9D2F86
secondary
#6BBC7C
accent
#DD694B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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