#9F2087#9F2087

#9F2087 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.192 H 337.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2087
RGBrgb(159, 32, 135)
HSLhsl(311, 66%, 37%)
HSVhsv(311, 80%, 62%)
CMYKcmyk(0%, 79.9%, 15.1%, 37.6%)
CIE-LABlab(38.12, 60.04, -27.28)
CIE-LCHlch(38.12, 65.95, 335.57°)
OKLaboklab(49.21% 0.1774 -0.0743)
OKLCHoklch(49.21% 0.192 337.3)
XYZxyz(19.1882, 10.1551, 23.8665)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2087 #209F38
analogous
#78209F #9F2087 #9F2047
triadic
#9F2087 #879F20 #20879F
tetradic
#9F2087 #9F7820 #209F38 #20479F
square
#9F2087 #9F7820 #209F38 #20479F
split-complementary
#9F2087 #479F20 #209F78
monochromatic
#390B30 #6C165C #9F2087 #D22AB2 #DE5BC5

Accessibility & contrast

On white

6.93
#9F2087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2087
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2087#FFFFFF#000000##FFFFFF
##9F20871.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#526184
Tritanopia (blue-blind)
#A82952
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2087;
/* rgb */ color: rgb(159, 32, 135);
/* oklch */ color: oklch(49.2% 0.192 337.3);
Tailwind
colors: {
  custom: {
    50: '#bf6baa',
    500: '#9f2087',
    950: '#000000',
  },
}
SCSS
$custom: #9f2087;
$custom-light: #bf6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2087",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 311.339,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.19228,
    "h": 337.3
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#9F2087
secondary
#59C26D
accent
#E95F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2087

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

Preview Lab → · Contrast checker → · Palette generator →

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