#9F1478#9F1478

#9F1478 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.8% C 0.192 H 343.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9F1478
RGBrgb(159, 20, 120)
HSLhsl(317, 78%, 35%)
HSVhsv(317, 87%, 62%)
CMYKcmyk(0%, 87.4%, 24.5%, 37.6%)
CIE-LABlab(36.42, 60.85, -20.59)
CIE-LCHlch(36.42, 64.24, 341.30°)
OKLaboklab(47.76% 0.1842 -0.0552)
OKLCHoklch(47.76% 0.192 343.3)
XYZxyz(17.9392, 9.2293, 18.6024)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1478 #149F3B
analogous
#81149F #9F1478 #9F1432
triadic
#9F1478 #789F14 #14789F
tetradic
#9F1478 #9F8114 #149F3B #14329F
square
#9F1478 #9F8114 #149F3B #14329F
split-complementary
#9F1478 #329F14 #149F81
monochromatic
#320626 #690D4F #9F1478 #D51BA1 #E846BA

Accessibility & contrast

On white

7.38
#9F1478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F1478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1478
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1478#FFFFFF#000000##FFFFFF
##9F14781.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#AA1447
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1478;
/* rgb */ color: rgb(159, 20, 120);
/* oklch */ color: oklch(47.8% 0.192 343.3);
Tailwind
colors: {
  custom: {
    50: '#c0679f',
    500: '#9f1478',
    950: '#000000',
  },
}
SCSS
$custom: #9f1478;
$custom-light: #c0679f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1478",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 316.835,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.19233,
    "h": 343.3
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#9F1478
secondary
#46C86B
accent
#F46A34
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1478

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

Preview Lab → · Contrast checker → · Palette generator →

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