#9F2E82#9F2E82

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

Color values

HEX#9F2E82
RGBrgb(159, 46, 130)
HSLhsl(315, 55%, 40%)
HSVhsv(315, 71%, 62%)
CMYKcmyk(0%, 71.1%, 18.2%, 37.6%)
CIE-LABlab(39.48, 54.78, -22.08)
CIE-LCHlch(39.48, 59.07, 338.05°)
OKLaboklab(50.12% 0.1631 -0.0596)
OKLCHoklch(50.12% 0.174 339.9)
XYZxyz(19.3048, 10.9385, 22.2094)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E82 #2E9F4B
analogous
#832E9F #9F2E82 #9F2E4A
triadic
#9F2E82 #829F2E #2E829F
tetradic
#9F2E82 #9F832E #2E9F4B #2E4A9F
square
#9F2E82 #9F832E #2E9F4B #2E4A9F
split-complementary
#9F2E82 #4A9F2E #2E9F83
monochromatic
#401334 #70205B #9F2E82 #C842A6 #D671BC

Accessibility & contrast

On white

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

On black

3.19
#9F2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2E82#FFFFFF#000000##FFFFFF
##9F2E821.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2e82;
/* rgb */ color: rgb(159, 46, 130);
/* oklch */ color: oklch(50.1% 0.174 339.9);
Tailwind
colors: {
  custom: {
    50: '#bf71a6',
    500: '#9f2e82',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e82;
$custom-light: #bf71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e82",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 315.398,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.17361,
    "h": 339.9
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#9F2E82
secondary
#6BBE80
accent
#DE7049
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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