#9F2387#9F2387

#9F2387 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.189 H 337.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9F2387
RGBrgb(159, 35, 135)
HSLhsl(312, 64%, 38%)
HSVhsv(312, 78%, 62%)
CMYKcmyk(0%, 78%, 15.1%, 37.6%)
CIE-LABlab(38.42, 59.19, -26.81)
CIE-LCHlch(38.42, 64.98, 335.63°)
OKLaboklab(49.43% 0.1748 -0.0729)
OKLCHoklch(49.43% 0.189 337.3)
XYZxyz(19.2727, 10.3241, 23.8947)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2387 #239F3B
analogous
#79239F #9F2387 #9F2349
triadic
#9F2387 #879F23 #23879F
tetradic
#9F2387 #9F7923 #239F3B #23499F
square
#9F2387 #9F7923 #239F3B #23499F
split-complementary
#9F2387 #499F23 #239F79
monochromatic
#3B0D32 #6D185C #9F2387 #D12EB2 #DC60C4

Accessibility & contrast

On white

6.85
#9F2387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2387
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2387#FFFFFF#000000##FFFFFF
##9F23871.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E8A
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#A82B53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2387;
/* rgb */ color: rgb(159, 35, 135);
/* oklch */ color: oklch(49.4% 0.189 337.3);
Tailwind
colors: {
  custom: {
    50: '#bf6caa',
    500: '#9f2387',
    950: '#000000',
  },
}
SCSS
$custom: #9f2387;
$custom-light: #bf6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2387",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 311.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.1894,
    "h": 337.3
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#9F2387
secondary
#5DC170
accent
#E76141
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2387

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

Preview Lab → · Contrast checker → · Palette generator →

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