#9F2B87#9F2B87

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

Color values

HEX#9F2B87
RGBrgb(159, 43, 135)
HSLhsl(312, 57%, 40%)
HSVhsv(312, 73%, 62%)
CMYKcmyk(0%, 73%, 15.1%, 37.6%)
CIE-LABlab(39.33, 56.60, -25.39)
CIE-LCHlch(39.33, 62.03, 335.84°)
OKLaboklab(50.08% 0.167 -0.069)
OKLCHoklch(50.08% 0.181 337.6)
XYZxyz(19.5355, 10.8498, 23.9823)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B87 #2B9F43
analogous
#7D2B9F #9F2B87 #9F2B4D
triadic
#9F2B87 #879F2B #2B879F
tetradic
#9F2B87 #9F7D2B #2B9F43 #2B4D9F
square
#9F2B87 #9F7D2B #2B9F43 #2B4D9F
split-complementary
#9F2B87 #4D9F2B #2B9F7D
monochromatic
#3F1135 #6F1E5E #9F2B87 #CA3DAD #D76DC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2B87#FFFFFF#000000##FFFFFF
##9F2B871.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)
#2F518A
Deuteranopia (green-blind)
#566384
Tritanopia (blue-blind)
#A83156
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2b87;
/* rgb */ color: rgb(159, 43, 135);
/* oklch */ color: oklch(50.1% 0.181 337.6);
Tailwind
colors: {
  custom: {
    50: '#bf70aa',
    500: '#9f2b87',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b87;
$custom-light: #bf70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b87",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 312.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.18071,
    "h": 337.6
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#9F2B87
secondary
#67BE79
accent
#E16747
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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