#9F1785#9F1785

#9F1785 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 337.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9F1785
RGBrgb(159, 23, 133)
HSLhsl(311, 75%, 36%)
HSVhsv(311, 86%, 62%)
CMYKcmyk(0%, 85.5%, 16.4%, 37.6%)
CIE-LABlab(37.26, 61.95, -27.39)
CIE-LCHlch(37.26, 67.74, 336.15°)
OKLaboklab(48.57% 0.1838 -0.0745)
OKLCHoklch(48.57% 0.198 337.9)
XYZxyz(18.8386, 9.6791, 23.0619)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1785 #179F31
analogous
#75179F #9F1785 #9F1741
triadic
#9F1785 #859F17 #17859F
tetradic
#9F1785 #9F7517 #179F31 #17419F
square
#9F1785 #9F7517 #179F31 #17419F
split-complementary
#9F1785 #419F17 #179F75
monochromatic
#34082C #6A0F58 #9F1785 #D41FB2 #E54BC8

Accessibility & contrast

On white

7.15
#9F1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1785
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1785#FFFFFF#000000##FFFFFF
##9F17851.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A8214F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1785;
/* rgb */ color: rgb(159, 23, 133);
/* oklch */ color: oklch(48.6% 0.198 337.9);
Tailwind
colors: {
  custom: {
    50: '#c068a9',
    500: '#9f1785',
    950: '#000000',
  },
}
SCSS
$custom: #9f1785;
$custom-light: #c068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1785",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 311.471,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.19832,
    "h": 337.9
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#9F1785
secondary
#4BC763
accent
#F15A36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1785

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

Preview Lab → · Contrast checker → · Palette generator →

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