#9F2A71#9F2A71

#9F2A71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.168 H 347.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F2A71
RGBrgb(159, 42, 113)
HSLhsl(324, 58%, 39%)
HSVhsv(324, 74%, 62%)
CMYKcmyk(0%, 73.6%, 28.9%, 37.6%)
CIE-LABlab(38.24, 53.92, -13.42)
CIE-LCHlch(38.24, 55.57, 346.03°)
OKLaboklab(48.98% 0.1641 -0.0353)
OKLCHoklch(48.98% 0.168 347.9)
XYZxyz(18.1075, 10.2211, 16.6389)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A71 #2A9F58
analogous
#932A9F #9F2A71 #9F2A36
triadic
#9F2A71 #719F2A #2A719F
tetradic
#9F2A71 #9F932A #2A9F58 #2A369F
square
#9F2A71 #9F932A #2A9F58 #2A369F
split-complementary
#9F2A71 #369F2A #2A9F93
monochromatic
#3E102C #6F1D4F #9F2A71 #CB3B93 #D86BAD

Accessibility & contrast

On white

6.90
#9F2A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A71
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A71#FFFFFF#000000##FFFFFF
##9F2A711.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#AA254A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2a71;
/* rgb */ color: rgb(159, 42, 113);
/* oklch */ color: oklch(49.0% 0.168 347.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e99',
    500: '#9f2a71',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a71;
$custom-light: #bf6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a71",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 323.59,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.16788,
    "h": 347.9
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#9F2A71
secondary
#66BF89
accent
#E18346
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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