#9F2371#9F2371

#9F2371 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 347.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F2371
RGBrgb(159, 35, 113)
HSLhsl(322, 64%, 38%)
HSVhsv(322, 78%, 62%)
CMYKcmyk(0%, 78%, 28.9%, 37.6%)
CIE-LABlab(37.42, 56.23, -14.66)
CIE-LCHlch(37.42, 58.11, 345.39°)
OKLaboklab(48.38% 0.1713 -0.0387)
OKLCHoklch(48.38% 0.176 347.3)
XYZxyz(17.8806, 9.7673, 16.5632)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2371 #239F51
analogous
#8F239F #9F2371 #9F2333
triadic
#9F2371 #719F23 #23719F
tetradic
#9F2371 #9F8F23 #239F51 #23339F
square
#9F2371 #9F8F23 #239F51 #23339F
split-complementary
#9F2371 #339F23 #239F8F
monochromatic
#3B0D2A #6D184D #9F2371 #D12E95 #DC60AE

Accessibility & contrast

On white

7.11
#9F2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2371
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2371#FFFFFF#000000##FFFFFF
##9F23711.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#AA1E47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2371;
/* rgb */ color: rgb(159, 35, 113);
/* oklch */ color: oklch(48.4% 0.176 347.3);
Tailwind
colors: {
  custom: {
    50: '#c06c9a',
    500: '#9f2371',
    950: '#000000',
  },
}
SCSS
$custom: #9f2371;
$custom-light: #c06c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2371",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 322.258,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.17563,
    "h": 347.3
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#9F2371
secondary
#5DC182
accent
#E77E41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2371

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

Preview Lab → · Contrast checker → · Palette generator →

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