#9F1881#9F1881

#9F1881 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.195 H 339.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F1881
RGBrgb(159, 24, 129)
HSLhsl(313, 74%, 36%)
HSVhsv(313, 85%, 62%)
CMYKcmyk(0%, 84.9%, 18.9%, 37.6%)
CIE-LABlab(37.14, 61.19, -25.10)
CIE-LCHlch(37.14, 66.14, 337.69°)
OKLaboklab(48.41% 0.1828 -0.068)
OKLCHoklch(48.41% 0.195 339.6)
XYZxyz(18.5877, 9.6111, 21.6408)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1881 #189F36
analogous
#79189F #9F1881 #9F183E
triadic
#9F1881 #819F18 #18819F
tetradic
#9F1881 #9F7918 #189F36 #183E9F
square
#9F1881 #9F7918 #189F36 #183E9F
split-complementary
#9F1881 #3E9F18 #189F79
monochromatic
#35082B #6A1056 #9F1881 #D420AC #E44DC3

Accessibility & contrast

On white

7.19
#9F1881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F1881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1881
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1881#FFFFFF#000000##FFFFFF
##9F18811.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#525F7E
Tritanopia (blue-blind)
#A91F4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1881;
/* rgb */ color: rgb(159, 24, 129);
/* oklch */ color: oklch(48.4% 0.195 339.6);
Tailwind
colors: {
  custom: {
    50: '#c069a6',
    500: '#9f1881',
    950: '#000000',
  },
}
SCSS
$custom: #9f1881;
$custom-light: #c069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1881",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 313.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.19503,
    "h": 339.6
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#9F1881
secondary
#4DC668
accent
#F06037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1881

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

Preview Lab → · Contrast checker → · Palette generator →

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