#9F1876#9F1876

#9F1876 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.188 H 344.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9F1876
RGBrgb(159, 24, 118)
HSLhsl(318, 74%, 36%)
HSVhsv(318, 85%, 62%)
CMYKcmyk(0%, 84.9%, 25.8%, 37.6%)
CIE-LABlab(36.62, 59.77, -19.03)
CIE-LCHlch(36.62, 62.72, 342.34°)
OKLaboklab(47.87% 0.1813 -0.0508)
OKLCHoklch(47.87% 0.188 344.3)
XYZxyz(17.8955, 9.3342, 17.9953)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1876 #189F41
analogous
#84189F #9F1876 #9F1833
triadic
#9F1876 #769F18 #18769F
tetradic
#9F1876 #9F8418 #189F41 #18339F
square
#9F1876 #9F8418 #189F41 #18339F
split-complementary
#9F1876 #339F18 #189F84
monochromatic
#350827 #6A104F #9F1876 #D4209D #E44DB6

Accessibility & contrast

On white

7.33
#9F1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1876
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1876#FFFFFF#000000##FFFFFF
##9F18761.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#AA1647
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1876;
/* rgb */ color: rgb(159, 24, 118);
/* oklch */ color: oklch(47.9% 0.188 344.3);
Tailwind
colors: {
  custom: {
    50: '#c0689d',
    500: '#9f1876',
    950: '#000000',
  },
}
SCSS
$custom: #9f1876;
$custom-light: #c0689d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1876",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 318.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.18833,
    "h": 344.3
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#9F1876
secondary
#4DC672
accent
#F07037
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1876

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

Preview Lab → · Contrast checker → · Palette generator →

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