#9D2F85#9D2F85

#9D2F85 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.173 H 337.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9D2F85
RGBrgb(157, 47, 133)
HSLhsl(313, 54%, 40%)
HSVhsv(313, 70%, 62%)
CMYKcmyk(0%, 70.1%, 15.3%, 38.4%)
CIE-LABlab(39.41, 54.33, -24.07)
CIE-LCHlch(39.41, 59.42, 336.11°)
OKLaboklab(50.04% 0.1604 -0.0652)
OKLCHoklch(50.04% 0.173 337.9)
XYZxyz(19.1551, 10.8963, 23.2801)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F85 #2F9D47
analogous
#7E2F9D #9D2F85 #9D2F4E
triadic
#9D2F85 #859D2F #2F859D
tetradic
#9D2F85 #9D7E2F #2F9D47 #2F4E9D
square
#9D2F85 #9D7E2F #2F9D47 #2F4E9D
split-complementary
#9D2F85 #4E9D2F #2F9D7E
monochromatic
#3F1335 #6E215D #9D2F85 #C743AA #D572BF

Accessibility & contrast

On white

6.61
#9D2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2F85
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F85#FFFFFF#000000##FFFFFF
##9D2F851.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#576382
Tritanopia (blue-blind)
#A63456
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2f85;
/* rgb */ color: rgb(157, 47, 133);
/* oklch */ color: oklch(50.0% 0.173 337.9);
Tailwind
colors: {
  custom: {
    50: '#bd71a8',
    500: '#9d2f85',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f85;
$custom-light: #bd71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f85",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 313.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50044,
    "c": 0.17313,
    "h": 337.9
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#9D2F85
secondary
#6BBC7D
accent
#DD6B4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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