#9F2D88#9F2D88

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

Color values

HEX#9F2D88
RGBrgb(159, 45, 136)
HSLhsl(312, 56%, 40%)
HSVhsv(312, 72%, 62%)
CMYKcmyk(0%, 71.7%, 14.5%, 37.6%)
CIE-LABlab(39.63, 56.04, -25.54)
CIE-LCHlch(39.63, 61.58, 335.50°)
OKLaboklab(50.32% 0.165 -0.0694)
OKLCHoklch(50.32% 0.179 337.2)
XYZxyz(19.6807, 11.0271, 24.3797)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D88 #2D9F44
analogous
#7D2D9F #9F2D88 #9F2D4F
triadic
#9F2D88 #889F2D #2D889F
tetradic
#9F2D88 #9F7D2D #2D9F44 #2D4F9F
square
#9F2D88 #9F7D2D #2D9F44 #2D4F9F
split-complementary
#9F2D88 #4F9F2D #2D9F7D
monochromatic
#401236 #6F205F #9F2D88 #C940AD #D670C2

Accessibility & contrast

On white

6.55
#9F2D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F2D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D88
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D88#FFFFFF#000000##FFFFFF
##9F2D881.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528B
Deuteranopia (green-blind)
#566485
Tritanopia (blue-blind)
#A83357
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2d88;
/* rgb */ color: rgb(159, 45, 136);
/* oklch */ color: oklch(50.3% 0.179 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf71ab',
    500: '#9f2d88',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d88;
$custom-light: #bf71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d88",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 312.105,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.17902,
    "h": 337.2
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#9F2D88
secondary
#6ABE7B
accent
#DF6749
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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