#9F2F87#9F2F87

#9F2F87 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.176 H 337.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F2F87
RGBrgb(159, 47, 135)
HSLhsl(313, 54%, 40%)
HSVhsv(313, 70%, 62%)
CMYKcmyk(0%, 70.4%, 15.1%, 37.6%)
CIE-LABlab(39.84, 55.15, -24.59)
CIE-LCHlch(39.84, 60.38, 335.97°)
OKLaboklab(50.46% 0.1627 -0.0667)
OKLCHoklch(50.46% 0.176 337.7)
XYZxyz(19.6881, 11.1550, 24.0332)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F87 #2F9F47
analogous
#7F2F9F #9F2F87 #9F2F4F
triadic
#9F2F87 #879F2F #2F879F
tetradic
#9F2F87 #9F7F2F #2F9F47 #2F4F9F
square
#9F2F87 #9F7F2F #2F9F47 #2F4F9F
split-complementary
#9F2F87 #4F9F2F #2F9F7F
monochromatic
#411337 #70215F #9F2F87 #C844AB #D673C0

Accessibility & contrast

On white

6.50
#9F2F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2F87
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F87#FFFFFF#000000##FFFFFF
##9F2F871.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#A83557
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2f87;
/* rgb */ color: rgb(159, 47, 135);
/* oklch */ color: oklch(50.5% 0.176 337.7);
Tailwind
colors: {
  custom: {
    50: '#bf71aa',
    500: '#9f2f87',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f87;
$custom-light: #bf71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f87",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 312.857,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.17585,
    "h": 337.7
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#9F2F87
secondary
#6DBD7E
accent
#DE6A4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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