#9F1487#9F1487

#9F1487 is a mid, highly saturated pink. Relative luminance 0.096; OKLCH L 48.5% C 0.202 H 337.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F1487
RGBrgb(159, 20, 135)
HSLhsl(310, 78%, 35%)
HSVhsv(310, 87%, 62%)
CMYKcmyk(0%, 87.4%, 15.1%, 37.6%)
CIE-LABlab(37.16, 62.83, -28.79)
CIE-LCHlch(37.16, 69.11, 335.38°)
OKLaboklab(48.52% 0.1857 -0.0785)
OKLCHoklch(48.52% 0.202 337.1)
XYZxyz(18.9218, 9.6224, 23.7778)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1487 #149F2C
analogous
#72149F #9F1487 #9F1441
triadic
#9F1487 #879F14 #14879F
tetradic
#9F1487 #9F7214 #149F2C #14419F
square
#9F1487 #9F7214 #149F2C #14419F
split-complementary
#9F1487 #419F14 #149F72
monochromatic
#32062B #690D59 #9F1487 #D51BB5 #E846CC

Accessibility & contrast

On white

7.18
#9F1487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F1487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1487
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1487#FFFFFF#000000##FFFFFF
##9F14871.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A82150
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1487;
/* rgb */ color: rgb(159, 20, 135);
/* oklch */ color: oklch(48.5% 0.202 337.1);
Tailwind
colors: {
  custom: {
    50: '#c068aa',
    500: '#9f1487',
    950: '#000000',
  },
}
SCSS
$custom: #9f1487;
$custom-light: #c068aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1487",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 310.36,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.20165,
    "h": 337.1
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#9F1487
secondary
#46C85D
accent
#F45534
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1487

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

Preview Lab → · Contrast checker → · Palette generator →

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