#9F2D82#9F2D82

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

Color values

HEX#9F2D82
RGBrgb(159, 45, 130)
HSLhsl(315, 56%, 40%)
HSVhsv(315, 72%, 62%)
CMYKcmyk(0%, 71.7%, 18.2%, 37.6%)
CIE-LABlab(39.35, 55.15, -22.28)
CIE-LCHlch(39.35, 59.48, 338.00°)
OKLaboklab(50.02% 0.1642 -0.0601)
OKLCHoklch(50.02% 0.175 339.9)
XYZxyz(19.2662, 10.8613, 22.1965)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D82 #2D9F4A
analogous
#832D9F #9F2D82 #9F2D49
triadic
#9F2D82 #829F2D #2D829F
tetradic
#9F2D82 #9F832D #2D9F4A #2D499F
square
#9F2D82 #9F832D #2D9F4A #2D499F
split-complementary
#9F2D82 #499F2D #2D9F83
monochromatic
#401234 #6F205B #9F2D82 #C940A6 #D670BC

Accessibility & contrast

On white

6.62
#9F2D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D82
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D82#FFFFFF#000000##FFFFFF
##9F2D821.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#59637F
Tritanopia (blue-blind)
#A83154
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2d82;
/* rgb */ color: rgb(159, 45, 130);
/* oklch */ color: oklch(50.0% 0.175 339.9);
Tailwind
colors: {
  custom: {
    50: '#bf70a6',
    500: '#9f2d82',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d82;
$custom-light: #bf70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d82",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 315.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.17485,
    "h": 339.9
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#9F2D82
secondary
#6ABE7F
accent
#DF6F49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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