#9F2589#9F2589

#9F2589 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 336.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9F2589
RGBrgb(159, 37, 137)
HSLhsl(311, 62%, 38%)
HSVhsv(311, 77%, 62%)
CMYKcmyk(0%, 76.7%, 13.8%, 37.6%)
CIE-LABlab(38.73, 58.87, -27.56)
CIE-LCHlch(38.73, 65.00, 334.92°)
OKLaboklab(49.68% 0.1732 -0.0751)
OKLCHoklch(49.68% 0.189 336.6)
XYZxyz(19.4753, 10.5020, 24.6635)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2589 #259F3B
analogous
#78259F #9F2589 #9F254C
triadic
#9F2589 #899F25 #25899F
tetradic
#9F2589 #9F7825 #259F3B #254C9F
square
#9F2589 #9F7825 #259F3B #254C9F
split-complementary
#9F2589 #4C9F25 #259F78
monochromatic
#3C0E33 #6D195E #9F2589 #CF32B3 #DB64C5

Accessibility & contrast

On white

6.77
#9F2589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F2589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2589
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2589#FFFFFF#000000##FFFFFF
##9F25891.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8C
Deuteranopia (green-blind)
#536286
Tritanopia (blue-blind)
#A82E55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2589;
/* rgb */ color: rgb(159, 37, 137);
/* oklch */ color: oklch(49.7% 0.189 336.6);
Tailwind
colors: {
  custom: {
    50: '#bf6dab',
    500: '#9f2589',
    950: '#000000',
  },
}
SCSS
$custom: #9f2589;
$custom-light: #bf6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2589",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 310.82,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.18874,
    "h": 336.6
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#9F2589
secondary
#5FC071
accent
#E56042
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2589

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

Preview Lab → · Contrast checker → · Palette generator →

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