#9F1974#9F1974

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

Color values

HEX#9F1974
RGBrgb(159, 25, 116)
HSLhsl(319, 73%, 36%)
HSVhsv(319, 84%, 62%)
CMYKcmyk(0%, 84.3%, 27%, 37.6%)
CIE-LABlab(36.61, 59.29, -17.79)
CIE-LCHlch(36.61, 61.90, 343.30°)
OKLaboklab(47.84% 0.1803 -0.0474)
OKLCHoklch(47.84% 0.186 345.3)
XYZxyz(17.7989, 9.3292, 17.3830)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1974 #199F44
analogous
#87199F #9F1974 #9F1931
triadic
#9F1974 #749F19 #19749F
tetradic
#9F1974 #9F8719 #199F44 #19319F
square
#9F1974 #9F8719 #199F44 #19319F
split-complementary
#9F1974 #319F19 #199F87
monochromatic
#350827 #6A114D #9F1974 #D4219B #E34FB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1974#FFFFFF#000000##FFFFFF
##9F19741.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)
#2E4876
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#AA1546
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1974;
/* rgb */ color: rgb(159, 25, 116);
/* oklch */ color: oklch(47.8% 0.186 345.3);
Tailwind
colors: {
  custom: {
    50: '#c0689c',
    500: '#9f1974',
    950: '#000000',
  },
}
SCSS
$custom: #9f1974;
$custom-light: #c0689c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1974",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 319.254,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.1864,
    "h": 345.3
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#9F1974
secondary
#4EC675
accent
#F07338
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1974

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

Preview Lab → · Contrast checker → · Palette generator →

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