#9F2174#9F2174

#9F2174 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.179 H 345.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F2174
RGBrgb(159, 33, 116)
HSLhsl(320, 66%, 38%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 79.2%, 27%, 37.6%)
CIE-LABlab(37.34, 57.20, -16.67)
CIE-LCHlch(37.34, 59.58, 343.75°)
OKLaboklab(48.36% 0.1738 -0.0443)
OKLCHoklch(48.36% 0.179 345.7)
XYZxyz(17.9951, 9.7216, 17.4484)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2174 #219F4C
analogous
#8B219F #9F2174 #9F2135
triadic
#9F2174 #749F21 #21749F
tetradic
#9F2174 #9F8B21 #219F4C #21359F
square
#9F2174 #9F8B21 #219F4C #21359F
split-complementary
#9F2174 #359F21 #219F8B
monochromatic
#3A0C2A #6C164F #9F2174 #D22C99 #DD5DB2

Accessibility & contrast

On white

7.13
#9F2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2174
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2174#FFFFFF#000000##FFFFFF
##9F21741.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#AA1E48
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2174;
/* rgb */ color: rgb(159, 33, 116);
/* oklch */ color: oklch(48.4% 0.179 345.7);
Tailwind
colors: {
  custom: {
    50: '#c06b9c',
    500: '#9f2174',
    950: '#000000',
  },
}
SCSS
$custom: #9f2174;
$custom-light: #c06b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2174",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 320.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.17934,
    "h": 345.7
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#9F2174
secondary
#5AC27D
accent
#E9793F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2174

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

Preview Lab → · Contrast checker → · Palette generator →

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