#9F2E80#9F2E80

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

Color values

HEX#9F2E80
RGBrgb(159, 46, 128)
HSLhsl(316, 55%, 40%)
HSVhsv(316, 71%, 62%)
CMYKcmyk(0%, 71.1%, 19.5%, 37.6%)
CIE-LABlab(39.39, 54.50, -20.99)
CIE-LCHlch(39.39, 58.40, 338.94°)
OKLaboklab(50.02% 0.1627 -0.0565)
OKLCHoklch(50.02% 0.172 340.9)
XYZxyz(19.1719, 10.8853, 21.5093)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E80 #2E9F4D
analogous
#852E9F #9F2E80 #9F2E48
triadic
#9F2E80 #809F2E #2E809F
tetradic
#9F2E80 #9F852E #2E9F4D #2E489F
square
#9F2E80 #9F852E #2E9F4D #2E489F
split-complementary
#9F2E80 #489F2E #2E9F85
monochromatic
#401334 #70205A #9F2E80 #C842A3 #D671BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2E80#FFFFFF#000000##FFFFFF
##9F2E801.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)
#365182
Deuteranopia (green-blind)
#5A637D
Tritanopia (blue-blind)
#A93053
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e80;
/* rgb */ color: rgb(159, 46, 128);
/* oklch */ color: oklch(50.0% 0.172 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf71a5',
    500: '#9f2e80',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e80;
$custom-light: #bf71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e80",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 316.46,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.17226,
    "h": 340.9
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#9F2E80
secondary
#6BBE82
accent
#DE7249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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