#9F2184#9F2184

#9F2184 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.189 H 338.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F2184
RGBrgb(159, 33, 132)
HSLhsl(313, 66%, 38%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 79.2%, 17%, 37.6%)
CIE-LABlab(38.07, 59.34, -25.51)
CIE-LCHlch(38.07, 64.59, 336.74°)
OKLaboklab(49.13% 0.1762 -0.0692)
OKLCHoklch(49.13% 0.189 338.6)
XYZxyz(19.0073, 10.1265, 22.7789)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2184 #219F3C
analogous
#7B219F #9F2184 #9F2145
triadic
#9F2184 #849F21 #21849F
tetradic
#9F2184 #9F7B21 #219F3C #21459F
square
#9F2184 #9F7B21 #219F3C #21459F
split-complementary
#9F2184 #459F21 #219F7B
monochromatic
#3A0C30 #6C165A #9F2184 #D22CAE #DD5DC2

Accessibility & contrast

On white

6.94
#9F2184 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2184 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2184
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2184#FFFFFF#000000##FFFFFF
##9F21841.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#546181
Tritanopia (blue-blind)
#A82851
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2184;
/* rgb */ color: rgb(159, 33, 132);
/* oklch */ color: oklch(49.1% 0.189 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ca8',
    500: '#9f2184',
    950: '#000000',
  },
}
SCSS
$custom: #9f2184;
$custom-light: #bf6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2184",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 312.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.18933,
    "h": 338.6
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#9F2184
secondary
#5AC270
accent
#E9643F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2184

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

Preview Lab → · Contrast checker → · Palette generator →

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