#9F1481#9F1481

#9F1481 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.198 H 339.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9F1481
RGBrgb(159, 20, 129)
HSLhsl(313, 78%, 35%)
HSVhsv(313, 87%, 62%)
CMYKcmyk(0%, 87.4%, 18.9%, 37.6%)
CIE-LABlab(36.85, 62.01, -25.55)
CIE-LCHlch(36.85, 67.07, 337.61°)
OKLaboklab(48.21% 0.1853 -0.0692)
OKLCHoklch(48.21% 0.198 339.5)
XYZxyz(18.5112, 9.4582, 21.6154)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1481 #149F32
analogous
#78149F #9F1481 #9F143B
triadic
#9F1481 #819F14 #14819F
tetradic
#9F1481 #9F7814 #149F32 #143B9F
square
#9F1481 #9F7814 #149F32 #143B9F
split-complementary
#9F1481 #3B9F14 #149F78
monochromatic
#320629 #690D55 #9F1481 #D51BAD #E846C5

Accessibility & contrast

On white

7.26
#9F1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1481
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1481#FFFFFF#000000##FFFFFF
##9F14811.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214984
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#A91C4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1481;
/* rgb */ color: rgb(159, 20, 129);
/* oklch */ color: oklch(48.2% 0.198 339.5);
Tailwind
colors: {
  custom: {
    50: '#c068a6',
    500: '#9f1481',
    950: '#000000',
  },
}
SCSS
$custom: #9f1481;
$custom-light: #c068a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1481",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 312.95,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.19781,
    "h": 339.5
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#9F1481
secondary
#46C862
accent
#F45D34
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1481

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

Preview Lab → · Contrast checker → · Palette generator →

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