#9F2172#9F2172

#9F2172 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 346.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9F2172
RGBrgb(159, 33, 114)
HSLhsl(321, 66%, 38%)
HSVhsv(321, 79%, 62%)
CMYKcmyk(0%, 79.2%, 28.3%, 37.6%)
CIE-LABlab(37.25, 56.95, -15.54)
CIE-LCHlch(37.25, 59.03, 344.73°)
OKLaboklab(48.27% 0.1734 -0.0411)
OKLCHoklch(48.27% 0.178 346.6)
XYZxyz(17.8801, 9.6756, 16.8423)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2172 #219F4E
analogous
#8D219F #9F2172 #9F2133
triadic
#9F2172 #729F21 #21729F
tetradic
#9F2172 #9F8D21 #219F4E #21339F
square
#9F2172 #9F8D21 #219F4E #21339F
split-complementary
#9F2172 #339F21 #219F8D
monochromatic
#3A0C29 #6C164E #9F2172 #D22C96 #DD5DB0

Accessibility & contrast

On white

7.16
#9F2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2172
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2172#FFFFFF#000000##FFFFFF
##9F21721.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#AA1C47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2172;
/* rgb */ color: rgb(159, 33, 114);
/* oklch */ color: oklch(48.3% 0.178 346.6);
Tailwind
colors: {
  custom: {
    50: '#c06b9a',
    500: '#9f2172',
    950: '#000000',
  },
}
SCSS
$custom: #9f2172;
$custom-light: #c06b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2172",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 321.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48274,
    "c": 0.1782,
    "h": 346.6
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#9F2172
secondary
#5AC27F
accent
#E97C3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2172

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

Preview Lab → · Contrast checker → · Palette generator →

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