#9F2187#9F2187

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

Color values

HEX#9F2187
RGBrgb(159, 33, 135)
HSLhsl(311, 66%, 38%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 79.2%, 15.1%, 37.6%)
CIE-LABlab(38.22, 59.76, -27.13)
CIE-LCHlch(38.22, 65.63, 335.59°)
OKLaboklab(49.28% 0.1765 -0.0738)
OKLCHoklch(49.28% 0.191 337.3)
XYZxyz(19.2155, 10.2098, 23.8757)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2187 #219F39
analogous
#78219F #9F2187 #9F2148
triadic
#9F2187 #879F21 #21879F
tetradic
#9F2187 #9F7821 #219F39 #21489F
square
#9F2187 #9F7821 #219F39 #21489F
split-complementary
#9F2187 #489F21 #219F78
monochromatic
#3A0C31 #6C165C #9F2187 #D22CB2 #DD5DC5

Accessibility & contrast

On white

6.90
#9F2187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2187
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2187#FFFFFF#000000##FFFFFF
##9F21871.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#526184
Tritanopia (blue-blind)
#A82A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2187;
/* rgb */ color: rgb(159, 33, 135);
/* oklch */ color: oklch(49.3% 0.191 337.3);
Tailwind
colors: {
  custom: {
    50: '#bf6caa',
    500: '#9f2187',
    950: '#000000',
  },
}
SCSS
$custom: #9f2187;
$custom-light: #bf6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2187",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 311.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.19134,
    "h": 337.3
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#9F2187
secondary
#5AC26E
accent
#E95F3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2187

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

Preview Lab → · Contrast checker → · Palette generator →

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