#9F1879#9F1879

#9F1879 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 343.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9F1879
RGBrgb(159, 24, 121)
HSLhsl(317, 74%, 36%)
HSVhsv(317, 85%, 62%)
CMYKcmyk(0%, 84.9%, 23.9%, 37.6%)
CIE-LABlab(36.76, 60.14, -20.70)
CIE-LCHlch(36.76, 63.61, 341.00°)
OKLaboklab(48.01% 0.1818 -0.0555)
OKLCHoklch(48.01% 0.19 343)
XYZxyz(18.0766, 9.4067, 18.9492)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1879 #189F3E
analogous
#81189F #9F1879 #9F1835
triadic
#9F1879 #799F18 #18799F
tetradic
#9F1879 #9F8118 #189F3E #18359F
square
#9F1879 #9F8118 #189F3E #18359F
split-complementary
#9F1879 #359F18 #189F81
monochromatic
#350828 #6A1051 #9F1879 #D420A1 #E44DBA

Accessibility & contrast

On white

7.29
#9F1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1879
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1879#FFFFFF#000000##FFFFFF
##9F18791.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#AA1949
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1879;
/* rgb */ color: rgb(159, 24, 121);
/* oklch */ color: oklch(48.0% 0.190 343.0);
Tailwind
colors: {
  custom: {
    50: '#c068a0',
    500: '#9f1879',
    950: '#000000',
  },
}
SCSS
$custom: #9f1879;
$custom-light: #c068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1879",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 316.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.1901,
    "h": 343
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#9F1879
secondary
#4DC66F
accent
#F06B37
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1879

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

Preview Lab → · Contrast checker → · Palette generator →

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