#9F2170#9F2170

#9F2170 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.177 H 347.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9F2170
RGBrgb(159, 33, 112)
HSLhsl(322, 66%, 38%)
HSVhsv(322, 79%, 62%)
CMYKcmyk(0%, 79.2%, 29.6%, 37.6%)
CIE-LABlab(37.17, 56.71, -14.41)
CIE-LCHlch(37.17, 58.51, 345.74°)
OKLaboklab(48.19% 0.173 -0.038)
OKLCHoklch(48.19% 0.177 347.6)
XYZxyz(17.7675, 9.6305, 16.2493)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2170 #219F50
analogous
#8F219F #9F2170 #9F2131
triadic
#9F2170 #709F21 #21709F
tetradic
#9F2170 #9F8F21 #219F50 #21319F
square
#9F2170 #9F8F21 #219F50 #21319F
split-complementary
#9F2170 #319F21 #219F8F
monochromatic
#3A0C29 #6C164C #9F2170 #D22C94 #DD5DAD

Accessibility & contrast

On white

7.18
#9F2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2170
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2170#FFFFFF#000000##FFFFFF
##9F21701.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A72
Deuteranopia (green-blind)
#5B5F6D
Tritanopia (blue-blind)
#AB1B46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2170;
/* rgb */ color: rgb(159, 33, 112);
/* oklch */ color: oklch(48.2% 0.177 347.6);
Tailwind
colors: {
  custom: {
    50: '#c06b99',
    500: '#9f2170',
    950: '#000000',
  },
}
SCSS
$custom: #9f2170;
$custom-light: #c06b99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2170",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 322.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.17708,
    "h": 347.6
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#9F2170
secondary
#5AC281
accent
#E97E3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F2170

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

Preview Lab → · Contrast checker → · Palette generator →

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