#9F2E81#9F2E81

#9F2E81 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.173 H 340.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9F2E81
RGBrgb(159, 46, 129)
HSLhsl(316, 55%, 40%)
HSVhsv(316, 71%, 62%)
CMYKcmyk(0%, 71.1%, 18.9%, 37.6%)
CIE-LABlab(39.43, 54.64, -21.53)
CIE-LCHlch(39.43, 58.73, 338.49°)
OKLaboklab(50.07% 0.1629 -0.058)
OKLCHoklch(50.07% 0.173 340.4)
XYZxyz(19.2380, 10.9117, 21.8576)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E81 #2E9F4C
analogous
#842E9F #9F2E81 #9F2E49
triadic
#9F2E81 #819F2E #2E819F
tetradic
#9F2E81 #9F842E #2E9F4C #2E499F
square
#9F2E81 #9F842E #2E9F4C #2E499F
split-complementary
#9F2E81 #499F2E #2E9F84
monochromatic
#401334 #70205A #9F2E81 #C842A5 #D671BB

Accessibility & contrast

On white

6.60
#9F2E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F2E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E81
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E81#FFFFFF#000000##FFFFFF
##9F2E811.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#59637E
Tritanopia (blue-blind)
#A83153
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e81;
/* rgb */ color: rgb(159, 46, 129);
/* oklch */ color: oklch(50.1% 0.173 340.4);
Tailwind
colors: {
  custom: {
    50: '#bf71a5',
    500: '#9f2e81',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e81;
$custom-light: #bf71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e81",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 315.929,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.17293,
    "h": 340.4
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#9F2E81
secondary
#6BBE81
accent
#DE7149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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