#9F2176#9F2176

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

Color values

HEX#9F2176
RGBrgb(159, 33, 118)
HSLhsl(320, 66%, 38%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 79.2%, 25.8%, 37.6%)
CIE-LABlab(37.42, 57.45, -17.79)
CIE-LCHlch(37.42, 60.15, 342.79°)
OKLaboklab(48.45% 0.1742 -0.0474)
OKLCHoklch(48.45% 0.181 344.8)
XYZxyz(18.1127, 9.7686, 18.0677)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2176 #219F4A
analogous
#89219F #9F2176 #9F2137
triadic
#9F2176 #769F21 #21769F
tetradic
#9F2176 #9F8921 #219F4A #21379F
square
#9F2176 #9F8921 #219F4A #21379F
split-complementary
#9F2176 #379F21 #219F89
monochromatic
#3A0C2B #6C1650 #9F2176 #D22C9C #DD5DB4

Accessibility & contrast

On white

7.11
#9F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2176
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2176#FFFFFF#000000##FFFFFF
##9F21761.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#AA1F49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2176;
/* rgb */ color: rgb(159, 33, 118);
/* oklch */ color: oklch(48.5% 0.181 344.8);
Tailwind
colors: {
  custom: {
    50: '#c06b9d',
    500: '#9f2176',
    950: '#000000',
  },
}
SCSS
$custom: #9f2176;
$custom-light: #c06b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2176",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 319.524,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.18051,
    "h": 344.8
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#9F2176
secondary
#5AC27C
accent
#E9763F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2176

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

Preview Lab → · Contrast checker → · Palette generator →

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