#9F1479#9F1479

#9F1479 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.193 H 342.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9F1479
RGBrgb(159, 20, 121)
HSLhsl(316, 78%, 35%)
HSVhsv(316, 87%, 62%)
CMYKcmyk(0%, 87.4%, 23.9%, 37.6%)
CIE-LABlab(36.47, 60.98, -21.15)
CIE-LCHlch(36.47, 64.54, 340.87°)
OKLaboklab(47.81% 0.1844 -0.0568)
OKLCHoklch(47.81% 0.193 342.9)
XYZxyz(18.0002, 9.2537, 18.9237)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1479 #149F3A
analogous
#80149F #9F1479 #9F1433
triadic
#9F1479 #799F14 #14799F
tetradic
#9F1479 #9F8014 #149F3A #14339F
square
#9F1479 #9F8014 #149F3A #14339F
split-complementary
#9F1479 #339F14 #149F80
monochromatic
#320626 #690D50 #9F1479 #D51BA2 #E846BB

Accessibility & contrast

On white

7.37
#9F1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1479
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1479#FFFFFF#000000##FFFFFF
##9F14791.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#AA1548
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1479;
/* rgb */ color: rgb(159, 20, 121);
/* oklch */ color: oklch(47.8% 0.193 342.9);
Tailwind
colors: {
  custom: {
    50: '#c067a0',
    500: '#9f1479',
    950: '#000000',
  },
}
SCSS
$custom: #9f1479;
$custom-light: #c067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1479",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 316.403,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.19292,
    "h": 342.9
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#9F1479
secondary
#46C86A
accent
#F46834
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1479

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

Preview Lab → · Contrast checker → · Palette generator →

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