#9F1985#9F1985

#9F1985 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 338.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F1985
RGBrgb(159, 25, 133)
HSLhsl(312, 73%, 36%)
HSVhsv(312, 84%, 62%)
CMYKcmyk(0%, 84.3%, 16.4%, 37.6%)
CIE-LABlab(37.41, 61.52, -27.15)
CIE-LCHlch(37.41, 67.24, 336.18°)
OKLaboklab(48.67% 0.1825 -0.0739)
OKLCHoklch(48.67% 0.197 338)
XYZxyz(18.8798, 9.7615, 23.0756)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1985 #199F33
analogous
#76199F #9F1985 #9F1942
triadic
#9F1985 #859F19 #19859F
tetradic
#9F1985 #9F7619 #199F33 #19429F
square
#9F1985 #9F7619 #199F33 #19429F
split-complementary
#9F1985 #429F19 #199F76
monochromatic
#35082D #6A1159 #9F1985 #D421B1 #E34FC7

Accessibility & contrast

On white

7.11
#9F1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1985
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1985#FFFFFF#000000##FFFFFF
##9F19851.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1985;
/* rgb */ color: rgb(159, 25, 133);
/* oklch */ color: oklch(48.7% 0.197 338.0);
Tailwind
colors: {
  custom: {
    50: '#c069a9',
    500: '#9f1985',
    950: '#000000',
  },
}
SCSS
$custom: #9f1985;
$custom-light: #c069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1985",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 311.642,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.19685,
    "h": 338
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#9F1985
secondary
#4EC665
accent
#F05C38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1985

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

Preview Lab → · Contrast checker → · Palette generator →

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