#9F1986#9F1986

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

Color values

HEX#9F1986
RGBrgb(159, 25, 134)
HSLhsl(311, 73%, 36%)
HSVhsv(311, 84%, 62%)
CMYKcmyk(0%, 84.3%, 15.7%, 37.6%)
CIE-LABlab(37.46, 61.65, -27.69)
CIE-LCHlch(37.46, 67.59, 335.81°)
OKLaboklab(48.73% 0.1826 -0.0754)
OKLCHoklch(48.73% 0.198 337.6)
XYZxyz(18.9492, 9.7893, 23.4412)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1986 #199F32
analogous
#75199F #9F1986 #9F1943
triadic
#9F1986 #869F19 #19869F
tetradic
#9F1986 #9F7519 #199F32 #19439F
square
#9F1986 #9F7519 #199F32 #19439F
split-complementary
#9F1986 #439F19 #199F75
monochromatic
#35082D #6A1159 #9F1986 #D421B3 #E34FC8

Accessibility & contrast

On white

7.10
#9F1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1986
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1986#FFFFFF#000000##FFFFFF
##9F19861.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1986;
/* rgb */ color: rgb(159, 25, 134);
/* oklch */ color: oklch(48.7% 0.198 337.6);
Tailwind
colors: {
  custom: {
    50: '#c069a9',
    500: '#9f1986',
    950: '#000000',
  },
}
SCSS
$custom: #9f1986;
$custom-light: #c069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1986",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 311.194,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.19751,
    "h": 337.6
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#9F1986
secondary
#4EC664
accent
#F05A38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1986

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

Preview Lab → · Contrast checker → · Palette generator →

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