#9F1877#9F1877

#9F1877 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 343.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F1877
RGBrgb(159, 24, 119)
HSLhsl(318, 74%, 36%)
HSVhsv(318, 85%, 62%)
CMYKcmyk(0%, 84.9%, 25.2%, 37.6%)
CIE-LABlab(36.66, 59.89, -19.59)
CIE-LCHlch(36.66, 63.01, 341.89°)
OKLaboklab(47.92% 0.1815 -0.0524)
OKLCHoklch(47.92% 0.189 343.9)
XYZxyz(17.9553, 9.3581, 18.3099)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1877 #189F40
analogous
#83189F #9F1877 #9F1833
triadic
#9F1877 #779F18 #18779F
tetradic
#9F1877 #9F8318 #189F40 #18339F
square
#9F1877 #9F8318 #189F40 #18339F
split-complementary
#9F1877 #339F18 #189F83
monochromatic
#350827 #6A104F #9F1877 #D4209F #E44DB7

Accessibility & contrast

On white

7.31
#9F1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1877
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1877#FFFFFF#000000##FFFFFF
##9F18771.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#AA1748
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1877;
/* rgb */ color: rgb(159, 24, 119);
/* oklch */ color: oklch(47.9% 0.189 343.9);
Tailwind
colors: {
  custom: {
    50: '#c0689e',
    500: '#9f1877',
    950: '#000000',
  },
}
SCSS
$custom: #9f1877;
$custom-light: #c0689e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1877",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 317.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.18891,
    "h": 343.9
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#9F1877
secondary
#4DC671
accent
#F06E37
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1877

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

Preview Lab → · Contrast checker → · Palette generator →

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