#9F2189#9F2189

#9F2189 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.193 H 336.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F2189
RGBrgb(159, 33, 137)
HSLhsl(310, 66%, 38%)
HSVhsv(310, 79%, 62%)
CMYKcmyk(0%, 79.2%, 13.8%, 37.6%)
CIE-LABlab(38.32, 60.05, -28.20)
CIE-LCHlch(38.32, 66.34, 334.84°)
OKLaboklab(49.39% 0.1767 -0.0769)
OKLCHoklch(49.39% 0.193 336.5)
XYZxyz(19.3576, 10.2666, 24.6242)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2189 #219F37
analogous
#76219F #9F2189 #9F214A
triadic
#9F2189 #899F21 #21899F
tetradic
#9F2189 #9F7621 #219F37 #214A9F
square
#9F2189 #9F7621 #219F37 #214A9F
split-complementary
#9F2189 #4A9F21 #219F76
monochromatic
#3A0C32 #6C165D #9F2189 #D22CB5 #DD5DC7

Accessibility & contrast

On white

6.88
#9F2189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F2189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2189
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2189#FFFFFF#000000##FFFFFF
##9F21891.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#A82B54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2189;
/* rgb */ color: rgb(159, 33, 137);
/* oklch */ color: oklch(49.4% 0.193 336.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cac',
    500: '#9f2189',
    950: '#000000',
  },
}
SCSS
$custom: #9f2189;
$custom-light: #bf6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2189",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 310.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.1927,
    "h": 336.5
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#9F2189
secondary
#5AC26C
accent
#E95D3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2189

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

Preview Lab → · Contrast checker → · Palette generator →

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