#9F2C8A#9F2C8A

#9F2C8A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.182 H 336.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2C8A
RGBrgb(159, 44, 138)
HSLhsl(311, 57%, 40%)
HSVhsv(311, 72%, 62%)
CMYKcmyk(0%, 72.3%, 13.2%, 37.6%)
CIE-LABlab(39.60, 56.70, -26.81)
CIE-LCHlch(39.60, 62.72, 334.69°)
OKLaboklab(50.33% 0.1663 -0.073)
OKLCHoklch(50.33% 0.182 336.3)
XYZxyz(19.7865, 11.0090, 25.1227)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C8A #2C9F41
analogous
#7B2C9F #9F2C8A #9F2C50
triadic
#9F2C8A #8A9F2C #2C8A9F
tetradic
#9F2C8A #9F7B2C #2C9F41 #2C509F
square
#9F2C8A #9F7B2C #2C9F41 #2C509F
split-complementary
#9F2C8A #509F2C #2C9F7B
monochromatic
#3F1137 #6F1F60 #9F2C8A #CA3EB0 #D76EC4

Accessibility & contrast

On white

6.56
#9F2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2C8A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C8A#FFFFFF#000000##FFFFFF
##9F2C8A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#A73457
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2c8a;
/* rgb */ color: rgb(159, 44, 138);
/* oklch */ color: oklch(50.3% 0.182 336.3);
Tailwind
colors: {
  custom: {
    50: '#bf70ac',
    500: '#9f2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c8a;
$custom-light: #bf70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c8a",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 310.957,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.18166,
    "h": 336.3
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#9F2C8A
secondary
#69BE78
accent
#E06448
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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