#9F1882#9F1882

#9F1882 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.5% C 0.196 H 339.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F1882
RGBrgb(159, 24, 130)
HSLhsl(313, 74%, 36%)
HSVhsv(313, 85%, 62%)
CMYKcmyk(0%, 84.9%, 18.2%, 37.6%)
CIE-LABlab(37.18, 61.33, -25.65)
CIE-LCHlch(37.18, 66.48, 337.30°)
OKLaboklab(48.46% 0.1829 -0.0695)
OKLCHoklch(48.46% 0.196 339.2)
XYZxyz(18.6545, 9.6378, 21.9926)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1882 #189F35
analogous
#78189F #9F1882 #9F183E
triadic
#9F1882 #829F18 #18829F
tetradic
#9F1882 #9F7818 #189F35 #183E9F
square
#9F1882 #9F7818 #189F35 #183E9F
split-complementary
#9F1882 #3E9F18 #189F78
monochromatic
#35082B #6A1057 #9F1882 #D420AD #E44DC4

Accessibility & contrast

On white

7.17
#9F1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1882
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1882#FFFFFF#000000##FFFFFF
##9F18821.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A9204E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1882;
/* rgb */ color: rgb(159, 24, 130);
/* oklch */ color: oklch(48.5% 0.196 339.2);
Tailwind
colors: {
  custom: {
    50: '#c069a6',
    500: '#9f1882',
    950: '#000000',
  },
}
SCSS
$custom: #9f1882;
$custom-light: #c069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1882",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 312.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.19567,
    "h": 339.2
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#9F1882
secondary
#4DC667
accent
#F05F37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1882

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

Preview Lab → · Contrast checker → · Palette generator →

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