#9F2E86#9F2E86

#9F2E86 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.176 H 338.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F2E86
RGBrgb(159, 46, 134)
HSLhsl(313, 55%, 40%)
HSVhsv(313, 71%, 62%)
CMYKcmyk(0%, 71.1%, 15.7%, 37.6%)
CIE-LABlab(39.66, 55.37, -24.26)
CIE-LCHlch(39.66, 60.45, 336.34°)
OKLaboklab(50.31% 0.1637 -0.0657)
OKLCHoklch(50.31% 0.176 338.1)
XYZxyz(19.5785, 11.0479, 23.6510)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E86 #2E9F47
analogous
#7F2E9F #9F2E86 #9F2E4E
triadic
#9F2E86 #869F2E #2E869F
tetradic
#9F2E86 #9F7F2E #2E9F47 #2E4E9F
square
#9F2E86 #9F7F2E #2E9F47 #2E4E9F
split-complementary
#9F2E86 #4E9F2E #2E9F7F
monochromatic
#401336 #70205E #9F2E86 #C842AB #D671C0

Accessibility & contrast

On white

6.54
#9F2E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F2E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E86
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E86#FFFFFF#000000##FFFFFF
##9F2E861.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#586483
Tritanopia (blue-blind)
#A83356
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e86;
/* rgb */ color: rgb(159, 46, 134);
/* oklch */ color: oklch(50.3% 0.176 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf71a9',
    500: '#9f2e86',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e86;
$custom-light: #bf71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e86",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 313.274,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.17638,
    "h": 338.1
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#9F2E86
secondary
#6BBE7D
accent
#DE6A49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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