#9F2166#9F2166

#9F2166 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.172 H 352.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9F2166
RGBrgb(159, 33, 102)
HSLhsl(327, 66%, 38%)
HSVhsv(327, 79%, 62%)
CMYKcmyk(0%, 79.2%, 35.8%, 37.6%)
CIE-LABlab(36.78, 55.54, -8.67)
CIE-LCHlch(36.78, 56.21, 351.12°)
OKLaboklab(47.78% 0.1705 -0.0223)
OKLCHoklch(47.78% 0.172 352.5)
XYZxyz(17.2413, 9.4201, 13.4781)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2166 #219F5A
analogous
#99219F #9F2166 #9F2127
triadic
#9F2166 #669F21 #21669F
tetradic
#9F2166 #9F9921 #219F5A #21279F
square
#9F2166 #9F9921 #219F5A #21279F
split-complementary
#9F2166 #279F21 #219F99
monochromatic
#3A0C25 #6C1645 #9F2166 #D22C87 #DD5DA3

Accessibility & contrast

On white

7.28
#9F2166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F2166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2166
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2166#FFFFFF#000000##FFFFFF
##9F21661.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394868
Deuteranopia (green-blind)
#5D5F63
Tritanopia (blue-blind)
#AC1341
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2166;
/* rgb */ color: rgb(159, 33, 102);
/* oklch */ color: oklch(47.8% 0.172 352.5);
Tailwind
colors: {
  custom: {
    50: '#c06a91',
    500: '#9f2166',
    950: '#000000',
  },
}
SCSS
$custom: #9f2166;
$custom-light: #c06a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2166",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 327.143,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.17194,
    "h": 352.5
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#9F2166
secondary
#5AC289
accent
#E98C3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F2166

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

Preview Lab → · Contrast checker → · Palette generator →

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