#9F1871#9F1871

#9F1871 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 346.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F1871
RGBrgb(159, 24, 113)
HSLhsl(320, 74%, 36%)
HSVhsv(320, 85%, 62%)
CMYKcmyk(0%, 84.9%, 28.9%, 37.6%)
CIE-LABlab(36.40, 59.15, -16.22)
CIE-LCHlch(36.40, 61.34, 344.67°)
OKLaboklab(47.64% 0.1805 -0.043)
OKLCHoklch(47.64% 0.186 346.6)
XYZxyz(17.6062, 9.2185, 16.4718)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1871 #189F46
analogous
#89189F #9F1871 #9F182E
triadic
#9F1871 #719F18 #18719F
tetradic
#9F1871 #9F8918 #189F46 #182E9F
square
#9F1871 #9F8918 #189F46 #182E9F
split-complementary
#9F1871 #2E9F18 #189F89
monochromatic
#350825 #6A104B #9F1871 #D42097 #E44DB1

Accessibility & contrast

On white

7.39
#9F1871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F1871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1871
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1871#FFFFFF#000000##FFFFFF
##9F18711.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#AB1144
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1871;
/* rgb */ color: rgb(159, 24, 113);
/* oklch */ color: oklch(47.6% 0.185 346.6);
Tailwind
colors: {
  custom: {
    50: '#c0689a',
    500: '#9f1871',
    950: '#000000',
  },
}
SCSS
$custom: #9f1871;
$custom-light: #c0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1871",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 320.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.1855,
    "h": 346.6
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#9F1871
secondary
#4DC676
accent
#F07637
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1871

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

Preview Lab → · Contrast checker → · Palette generator →

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