#9F2571#9F2571

#9F2571 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 347.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9F2571
RGBrgb(159, 37, 113)
HSLhsl(323, 62%, 38%)
HSVhsv(323, 77%, 62%)
CMYKcmyk(0%, 76.7%, 28.9%, 37.6%)
CIE-LABlab(37.64, 55.61, -14.32)
CIE-LCHlch(37.64, 57.42, 345.56°)
OKLaboklab(48.54% 0.1694 -0.0378)
OKLCHoklch(48.54% 0.174 347.4)
XYZxyz(17.9412, 9.8883, 16.5834)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2571 #259F53
analogous
#90259F #9F2571 #9F2534
triadic
#9F2571 #719F25 #25719F
tetradic
#9F2571 #9F9025 #259F53 #25349F
square
#9F2571 #9F9025 #259F53 #25349F
split-complementary
#9F2571 #349F25 #259F90
monochromatic
#3C0E2A #6D194E #9F2571 #CF3294 #DB64AE

Accessibility & contrast

On white

7.05
#9F2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2571
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2571#FFFFFF#000000##FFFFFF
##9F25711.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#AA2048
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2571;
/* rgb */ color: rgb(159, 37, 113);
/* oklch */ color: oklch(48.5% 0.174 347.4);
Tailwind
colors: {
  custom: {
    50: '#c06c9a',
    500: '#9f2571',
    950: '#000000',
  },
}
SCSS
$custom: #9f2571;
$custom-light: #c06c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2571",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 322.623,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.17352,
    "h": 347.4
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#9F2571
secondary
#5FC084
accent
#E58042
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2571

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

Preview Lab → · Contrast checker → · Palette generator →

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