#9F147E#9F147E

#9F147E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.196 H 340.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9F147E
RGBrgb(159, 20, 126)
HSLhsl(314, 78%, 35%)
HSVhsv(314, 87%, 62%)
CMYKcmyk(0%, 87.4%, 20.8%, 37.6%)
CIE-LABlab(36.71, 61.62, -23.91)
CIE-LCHlch(36.71, 66.09, 338.79°)
OKLaboklab(48.06% 0.185 -0.0646)
OKLCHoklch(48.06% 0.196 340.8)
XYZxyz(18.3148, 9.3796, 20.5805)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F147E #149F35
analogous
#7B149F #9F147E #9F1438
triadic
#9F147E #7E9F14 #147E9F
tetradic
#9F147E #9F7B14 #149F35 #14389F
square
#9F147E #9F7B14 #149F35 #14389F
split-complementary
#9F147E #389F14 #149F7B
monochromatic
#320628 #690D53 #9F147E #D51BA9 #E846C1

Accessibility & contrast

On white

7.30
#9F147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F147E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F147E#FFFFFF#000000##FFFFFF
##9F147E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A91A4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f147e;
/* rgb */ color: rgb(159, 20, 126);
/* oklch */ color: oklch(48.1% 0.196 340.8);
Tailwind
colors: {
  custom: {
    50: '#c067a3',
    500: '#9f147e',
    950: '#000000',
  },
}
SCSS
$custom: #9f147e;
$custom-light: #c067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f147e",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 314.245,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.19595,
    "h": 340.8
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#9F147E
secondary
#46C865
accent
#F46134
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F147E

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

Preview Lab → · Contrast checker → · Palette generator →

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