#9F2186#9F2186

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

Color values

HEX#9F2186
RGBrgb(159, 33, 134)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 79%, 62%)
CMYKcmyk(0%, 79.2%, 15.7%, 37.6%)
CIE-LABlab(38.17, 59.62, -26.59)
CIE-LCHlch(38.17, 65.28, 335.96°)
OKLaboklab(49.23% 0.1764 -0.0723)
OKLCHoklch(49.23% 0.191 337.7)
XYZxyz(19.1454, 10.1817, 23.5066)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2186 #219F3A
analogous
#79219F #9F2186 #9F2147
triadic
#9F2186 #869F21 #21869F
tetradic
#9F2186 #9F7921 #219F3A #21479F
square
#9F2186 #9F7921 #219F3A #21479F
split-complementary
#9F2186 #479F21 #219F79
monochromatic
#3A0C31 #6C165B #9F2186 #D22CB1 #DD5DC4

Accessibility & contrast

On white

6.92
#9F2186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2186
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2186#FFFFFF#000000##FFFFFF
##9F21861.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A82952
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2186;
/* rgb */ color: rgb(159, 33, 134);
/* oklch */ color: oklch(49.2% 0.191 337.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9f2186',
    950: '#000000',
  },
}
SCSS
$custom: #9f2186;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2186",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 311.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.19067,
    "h": 337.7
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#9F2186
secondary
#5AC26F
accent
#E9613F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2186

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

Preview Lab → · Contrast checker → · Palette generator →

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