#9F2E85#9F2E85

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

Color values

HEX#9F2E85
RGBrgb(159, 46, 133)
HSLhsl(314, 55%, 40%)
HSVhsv(314, 71%, 62%)
CMYKcmyk(0%, 71.1%, 16.4%, 37.6%)
CIE-LABlab(39.61, 55.22, -23.71)
CIE-LCHlch(39.61, 60.10, 336.76°)
OKLaboklab(50.26% 0.1635 -0.0642)
OKLCHoklch(50.26% 0.176 338.6)
XYZxyz(19.5091, 11.0202, 23.2854)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E85 #2E9F48
analogous
#802E9F #9F2E85 #9F2E4D
triadic
#9F2E85 #859F2E #2E859F
tetradic
#9F2E85 #9F802E #2E9F48 #2E4D9F
square
#9F2E85 #9F802E #2E9F48 #2E4D9F
split-complementary
#9F2E85 #4D9F2E #2E9F80
monochromatic
#401336 #70205D #9F2E85 #C842A9 #D671BF

Accessibility & contrast

On white

6.56
#9F2E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F2E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E85
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E85#FFFFFF#000000##FFFFFF
##9F2E851.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#586482
Tritanopia (blue-blind)
#A83355
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e85;
/* rgb */ color: rgb(159, 46, 133);
/* oklch */ color: oklch(50.3% 0.176 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf71a8',
    500: '#9f2e85',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e85;
$custom-light: #bf71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e85",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 313.805,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.17568,
    "h": 338.6
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#9F2E85
secondary
#6BBE7E
accent
#DE6C49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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