#9F1886#9F1886

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

Color values

HEX#9F1886
RGBrgb(159, 24, 134)
HSLhsl(311, 74%, 36%)
HSVhsv(311, 85%, 62%)
CMYKcmyk(0%, 84.9%, 15.7%, 37.6%)
CIE-LABlab(37.38, 61.88, -27.81)
CIE-LCHlch(37.38, 67.84, 335.80°)
OKLaboklab(48.67% 0.1832 -0.0757)
OKLCHoklch(48.67% 0.198 337.5)
XYZxyz(18.9282, 9.7473, 23.4342)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1886 #189F31
analogous
#74189F #9F1886 #9F1842
triadic
#9F1886 #869F18 #18869F
tetradic
#9F1886 #9F7418 #189F31 #18429F
square
#9F1886 #9F7418 #189F31 #18429F
split-complementary
#9F1886 #429F18 #189F74
monochromatic
#35082C #6A1059 #9F1886 #D420B3 #E44DC8

Accessibility & contrast

On white

7.12
#9F1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1886
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1886#FFFFFF#000000##FFFFFF
##9F18861.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1886;
/* rgb */ color: rgb(159, 24, 134);
/* oklch */ color: oklch(48.7% 0.198 337.5);
Tailwind
colors: {
  custom: {
    50: '#c069a9',
    500: '#9f1886',
    950: '#000000',
  },
}
SCSS
$custom: #9f1886;
$custom-light: #c069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1886",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 311.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.19826,
    "h": 337.5
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#9F1886
secondary
#4DC663
accent
#F05A37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1886

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

Preview Lab → · Contrast checker → · Palette generator →

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