#9F1D85#9F1D85

#9F1D85 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.9% C 0.194 H 338.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F1D85
RGBrgb(159, 29, 133)
HSLhsl(312, 69%, 37%)
HSVhsv(312, 82%, 62%)
CMYKcmyk(0%, 81.8%, 16.4%, 37.6%)
CIE-LABlab(37.74, 60.55, -26.63)
CIE-LCHlch(37.74, 66.15, 336.26°)
OKLaboklab(48.91% 0.1796 -0.0724)
OKLCHoklch(48.91% 0.194 338)
XYZxyz(18.9715, 9.9450, 23.1062)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D85 #1D9F37
analogous
#781D9F #9F1D85 #9F1D44
triadic
#9F1D85 #859F1D #1D859F
tetradic
#9F1D85 #9F781D #1D9F37 #1D449F
square
#9F1D85 #9F781D #1D9F37 #1D449F
split-complementary
#9F1D85 #449F1D #1D9F78
monochromatic
#370A2E #6B145A #9F1D85 #D326B0 #E056C5

Accessibility & contrast

On white

7.03
#9F1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D85
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D85#FFFFFF#000000##FFFFFF
##9F1D851.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#A82551
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d85;
/* rgb */ color: rgb(159, 29, 133);
/* oklch */ color: oklch(48.9% 0.194 338.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aa9',
    500: '#9f1d85',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d85;
$custom-light: #bf6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d85",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 312,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.19361,
    "h": 338
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#9F1D85
secondary
#54C46A
accent
#EC5F3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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