#9F2188#9F2188

#9F2188 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.192 H 336.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F2188
RGBrgb(159, 33, 136)
HSLhsl(311, 66%, 38%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 79.2%, 14.5%, 37.6%)
CIE-LABlab(38.27, 59.91, -27.67)
CIE-LCHlch(38.27, 65.99, 335.21°)
OKLaboklab(49.34% 0.1766 -0.0754)
OKLCHoklch(49.34% 0.192 336.9)
XYZxyz(19.2862, 10.2381, 24.2482)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2188 #219F38
analogous
#77219F #9F2188 #9F2149
triadic
#9F2188 #889F21 #21889F
tetradic
#9F2188 #9F7721 #219F38 #21499F
square
#9F2188 #9F7721 #219F38 #21499F
split-complementary
#9F2188 #499F21 #219F77
monochromatic
#3A0C31 #6C165D #9F2188 #D22CB3 #DD5DC6

Accessibility & contrast

On white

6.89
#9F2188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2188
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2188#FFFFFF#000000##FFFFFF
##9F21881.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#526185
Tritanopia (blue-blind)
#A82A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2188;
/* rgb */ color: rgb(159, 33, 136);
/* oklch */ color: oklch(49.3% 0.192 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cab',
    500: '#9f2188',
    950: '#000000',
  },
}
SCSS
$custom: #9f2188;
$custom-light: #bf6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2188",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 310.952,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.19202,
    "h": 336.9
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#9F2188
secondary
#5AC26D
accent
#E95E3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2188

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

Preview Lab → · Contrast checker → · Palette generator →

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