#9F2E84#9F2E84

#9F2E84 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 339.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9F2E84
RGBrgb(159, 46, 132)
HSLhsl(314, 55%, 40%)
HSVhsv(314, 71%, 62%)
CMYKcmyk(0%, 71.1%, 17%, 37.6%)
CIE-LABlab(39.57, 55.08, -23.17)
CIE-LCHlch(39.57, 59.75, 337.18°)
OKLaboklab(50.21% 0.1634 -0.0627)
OKLCHoklch(50.21% 0.175 339)
XYZxyz(19.4404, 10.9927, 22.9233)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E84 #2E9F49
analogous
#812E9F #9F2E84 #9F2E4C
triadic
#9F2E84 #849F2E #2E849F
tetradic
#9F2E84 #9F812E #2E9F49 #2E4C9F
square
#9F2E84 #9F812E #2E9F49 #2E4C9F
split-complementary
#9F2E84 #4C9F2E #2E9F81
monochromatic
#401335 #70205D #9F2E84 #C842A8 #D671BE

Accessibility & contrast

On white

6.57
#9F2E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F2E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E84
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E84#FFFFFF#000000##FFFFFF
##9F2E841.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#586481
Tritanopia (blue-blind)
#A83255
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e84;
/* rgb */ color: rgb(159, 46, 132);
/* oklch */ color: oklch(50.2% 0.175 339.0);
Tailwind
colors: {
  custom: {
    50: '#bf71a8',
    500: '#9f2e84',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e84;
$custom-light: #bf71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e84",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 314.336,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.17498,
    "h": 339
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#9F2E84
secondary
#6BBE7F
accent
#DE6D49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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