#9F2D84#9F2D84

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

Color values

HEX#9F2D84
RGBrgb(159, 45, 132)
HSLhsl(314, 56%, 40%)
HSVhsv(314, 72%, 62%)
CMYKcmyk(0%, 71.7%, 17%, 37.6%)
CIE-LABlab(39.44, 55.44, -23.37)
CIE-LCHlch(39.44, 60.17, 337.14°)
OKLaboklab(50.12% 0.1645 -0.0632)
OKLCHoklch(50.12% 0.176 339)
XYZxyz(19.4018, 10.9155, 22.9104)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D84 #2D9F48
analogous
#812D9F #9F2D84 #9F2D4B
triadic
#9F2D84 #849F2D #2D849F
tetradic
#9F2D84 #9F812D #2D9F48 #2D4B9F
square
#9F2D84 #9F812D #2D9F48 #2D4B9F
split-complementary
#9F2D84 #4B9F2D #2D9F81
monochromatic
#401235 #6F205C #9F2D84 #C940A9 #D670BE

Accessibility & contrast

On white

6.60
#9F2D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2D84
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D84#FFFFFF#000000##FFFFFF
##9F2D841.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335186
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#A83155
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2d84;
/* rgb */ color: rgb(159, 45, 132);
/* oklch */ color: oklch(50.1% 0.176 339.0);
Tailwind
colors: {
  custom: {
    50: '#bf70a8',
    500: '#9f2d84',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d84;
$custom-light: #bf70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d84",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 314.211,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.17622,
    "h": 339
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#9F2D84
secondary
#6ABE7E
accent
#DF6C49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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