#9F2178#9F2178

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

Color values

HEX#9F2178
RGBrgb(159, 33, 120)
HSLhsl(319, 66%, 38%)
HSVhsv(319, 79%, 62%)
CMYKcmyk(0%, 79.2%, 24.5%, 37.6%)
CIE-LABlab(37.51, 57.71, -18.91)
CIE-LCHlch(37.51, 60.73, 341.86°)
OKLaboklab(48.55% 0.1745 -0.0505)
OKLCHoklch(48.55% 0.182 343.9)
XYZxyz(18.2328, 9.8167, 18.7003)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2178 #219F48
analogous
#87219F #9F2178 #9F2139
triadic
#9F2178 #789F21 #21789F
tetradic
#9F2178 #9F8721 #219F48 #21399F
square
#9F2178 #9F8721 #219F48 #21399F
split-complementary
#9F2178 #399F21 #219F87
monochromatic
#3A0C2C #6C1652 #9F2178 #D22C9E #DD5DB6

Accessibility & contrast

On white

7.09
#9F2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2178
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2178#FFFFFF#000000##FFFFFF
##9F21781.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2178;
/* rgb */ color: rgb(159, 33, 120);
/* oklch */ color: oklch(48.5% 0.182 343.9);
Tailwind
colors: {
  custom: {
    50: '#c06b9f',
    500: '#9f2178',
    950: '#000000',
  },
}
SCSS
$custom: #9f2178;
$custom-light: #c06b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2178",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 318.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.1817,
    "h": 343.9
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#9F2178
secondary
#5AC27A
accent
#E9743F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2178

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

Preview Lab → · Contrast checker → · Palette generator →

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