#9F2C84#9F2C84

#9F2C84 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.177 H 338.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2C84
RGBrgb(159, 44, 132)
HSLhsl(314, 57%, 40%)
HSVhsv(314, 72%, 62%)
CMYKcmyk(0%, 72.3%, 17%, 37.6%)
CIE-LABlab(39.31, 55.80, -23.57)
CIE-LCHlch(39.31, 60.58, 337.10°)
OKLaboklab(50.03% 0.1656 -0.0638)
OKLCHoklch(50.03% 0.177 338.9)
XYZxyz(19.3641, 10.8401, 22.8978)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C84 #2C9F47
analogous
#812C9F #9F2C84 #9F2C4B
triadic
#9F2C84 #849F2C #2C849F
tetradic
#9F2C84 #9F812C #2C9F47 #2C4B9F
square
#9F2C84 #9F812C #2C9F47 #2C4B9F
split-complementary
#9F2C84 #4B9F2C #2C9F81
monochromatic
#3F1134 #6F1F5C #9F2C84 #CA3EA9 #D76EBE

Accessibility & contrast

On white

6.63
#9F2C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2C84
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C84#FFFFFF#000000##FFFFFF
##9F2C841.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325186
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#A83154
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2c84;
/* rgb */ color: rgb(159, 44, 132);
/* oklch */ color: oklch(50.0% 0.177 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf70a8',
    500: '#9f2c84',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c84;
$custom-light: #bf70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c84",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 314.087,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.17743,
    "h": 338.9
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#9F2C84
secondary
#69BE7D
accent
#E06C48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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