#9F2177#9F2177

#9F2177 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.181 H 344.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2177
RGBrgb(159, 33, 119)
HSLhsl(319, 66%, 38%)
HSVhsv(319, 79%, 62%)
CMYKcmyk(0%, 79.2%, 25.2%, 37.6%)
CIE-LABlab(37.47, 57.58, -18.35)
CIE-LCHlch(37.47, 60.44, 342.32°)
OKLaboklab(48.5% 0.1744 -0.049)
OKLCHoklch(48.5% 0.181 344.3)
XYZxyz(18.1725, 9.7925, 18.3823)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2177 #219F49
analogous
#88219F #9F2177 #9F2138
triadic
#9F2177 #779F21 #21779F
tetradic
#9F2177 #9F8821 #219F49 #21389F
square
#9F2177 #9F8821 #219F49 #21389F
split-complementary
#9F2177 #389F21 #219F88
monochromatic
#3A0C2B #6C1651 #9F2177 #D22C9D #DD5DB5

Accessibility & contrast

On white

7.10
#9F2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2177
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2177#FFFFFF#000000##FFFFFF
##9F21771.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B79
Deuteranopia (green-blind)
#586074
Tritanopia (blue-blind)
#AA204A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2177;
/* rgb */ color: rgb(159, 33, 119);
/* oklch */ color: oklch(48.5% 0.181 344.3);
Tailwind
colors: {
  custom: {
    50: '#c06b9e',
    500: '#9f2177',
    950: '#000000',
  },
}
SCSS
$custom: #9f2177;
$custom-light: #c06b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2177",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 319.048,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.1811,
    "h": 344.3
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#9F2177
secondary
#5AC27B
accent
#E9753F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2177

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

Preview Lab → · Contrast checker → · Palette generator →

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