#9F2B86#9F2B86

#9F2B86 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.180 H 338.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2B86
RGBrgb(159, 43, 134)
HSLhsl(313, 57%, 40%)
HSVhsv(313, 73%, 62%)
CMYKcmyk(0%, 73%, 15.7%, 37.6%)
CIE-LABlab(39.28, 56.45, -24.85)
CIE-LCHlch(39.28, 61.68, 336.24°)
OKLaboklab(50.03% 0.1669 -0.0674)
OKLCHoklch(50.03% 0.18 338)
XYZxyz(19.4654, 10.8217, 23.6133)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B86 #2B9F44
analogous
#7E2B9F #9F2B86 #9F2B4C
triadic
#9F2B86 #869F2B #2B869F
tetradic
#9F2B86 #9F7E2B #2B9F44 #2B4C9F
square
#9F2B86 #9F7E2B #2B9F44 #2B4C9F
split-complementary
#9F2B86 #4C9F2B #2B9F7E
monochromatic
#3F1135 #6F1E5D #9F2B86 #CA3DAC #D76DC1

Accessibility & contrast

On white

6.64
#9F2B86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2B86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B86
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B86#FFFFFF#000000##FFFFFF
##9F2B861.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#A83155
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2b86;
/* rgb */ color: rgb(159, 43, 134);
/* oklch */ color: oklch(50.0% 0.180 338.0);
Tailwind
colors: {
  custom: {
    50: '#bf70a9',
    500: '#9f2b86',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b86;
$custom-light: #bf70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b86",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 312.931,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50033,
    "c": 0.18001,
    "h": 338
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#9F2B86
secondary
#67BE7A
accent
#E16847
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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