#9F2E89#9F2E89

#9F2E89 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.179 H 336.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9F2E89
RGBrgb(159, 46, 137)
HSLhsl(312, 55%, 40%)
HSVhsv(312, 71%, 62%)
CMYKcmyk(0%, 71.1%, 13.8%, 37.6%)
CIE-LABlab(39.80, 55.82, -25.88)
CIE-LCHlch(39.80, 61.53, 335.13°)
OKLaboklab(50.46% 0.1641 -0.0704)
OKLCHoklch(50.46% 0.179 336.8)
XYZxyz(19.7908, 11.1328, 24.7686)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E89 #2E9F44
analogous
#7C2E9F #9F2E89 #9F2E51
triadic
#9F2E89 #899F2E #2E899F
tetradic
#9F2E89 #9F7C2E #2E9F44 #2E519F
square
#9F2E89 #9F7C2E #2E9F44 #2E519F
split-complementary
#9F2E89 #519F2E #2E9F7C
monochromatic
#401337 #702060 #9F2E89 #C842AE #D671C2

Accessibility & contrast

On white

6.51
#9F2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F2E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E89
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E89#FFFFFF#000000##FFFFFF
##9F2E891.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#566486
Tritanopia (blue-blind)
#A73558
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2e89;
/* rgb */ color: rgb(159, 46, 137);
/* oklch */ color: oklch(50.5% 0.179 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf71ab',
    500: '#9f2e89',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e89;
$custom-light: #bf71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e89",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 311.681,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.17852,
    "h": 336.8
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#9F2E89
secondary
#6BBE7B
accent
#DE6649
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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