#9F2F86#9F2F86

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

Color values

HEX#9F2F86
RGBrgb(159, 47, 134)
HSLhsl(313, 54%, 40%)
HSVhsv(313, 70%, 62%)
CMYKcmyk(0%, 70.4%, 15.7%, 37.6%)
CIE-LABlab(39.79, 55.00, -24.05)
CIE-LCHlch(39.79, 60.03, 336.38°)
OKLaboklab(50.41% 0.1626 -0.0652)
OKLCHoklch(50.41% 0.175 338.2)
XYZxyz(19.6181, 11.1270, 23.6641)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F86 #2F9F48
analogous
#802F9F #9F2F86 #9F2F4E
triadic
#9F2F86 #869F2F #2F869F
tetradic
#9F2F86 #9F802F #2F9F48 #2F4E9F
square
#9F2F86 #9F802F #2F9F48 #2F4E9F
split-complementary
#9F2F86 #4E9F2F #2F9F80
monochromatic
#411336 #70215E #9F2F86 #C844AA #D673C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2F86#FFFFFF#000000##FFFFFF
##9F2F861.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)
#345388
Deuteranopia (green-blind)
#586483
Tritanopia (blue-blind)
#A83456
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2f86;
/* rgb */ color: rgb(159, 47, 134);
/* oklch */ color: oklch(50.4% 0.175 338.2);
Tailwind
colors: {
  custom: {
    50: '#bf71a9',
    500: '#9f2f86',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f86;
$custom-light: #bf71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f86",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 313.393,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.17514,
    "h": 338.2
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#9F2F86
secondary
#6DBD7F
accent
#DE6B4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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