#9F2D71#9F2D71

#9F2D71 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.164 H 348.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2D71
RGBrgb(159, 45, 113)
HSLhsl(324, 56%, 40%)
HSVhsv(324, 72%, 62%)
CMYKcmyk(0%, 71.7%, 28.9%, 37.6%)
CIE-LABlab(38.62, 52.84, -12.83)
CIE-LCHlch(38.62, 54.37, 346.36°)
OKLaboklab(49.26% 0.1607 -0.0337)
OKLCHoklch(49.26% 0.164 348.2)
XYZxyz(18.2180, 10.4419, 16.6757)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D71 #2D9F5B
analogous
#942D9F #9F2D71 #9F2D38
triadic
#9F2D71 #719F2D #2D719F
tetradic
#9F2D71 #9F942D #2D9F5B #2D389F
square
#9F2D71 #9F942D #2D9F5B #2D389F
split-complementary
#9F2D71 #389F2D #2D9F94
monochromatic
#40122D #6F204F #9F2D71 #C94092 #D670AD

Accessibility & contrast

On white

6.80
#9F2D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D71
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D71#FFFFFF#000000##FFFFFF
##9F2D711.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#AA284B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d71;
/* rgb */ color: rgb(159, 45, 113);
/* oklch */ color: oklch(49.3% 0.164 348.2);
Tailwind
colors: {
  custom: {
    50: '#bf7099',
    500: '#9f2d71',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d71;
$custom-light: #bf7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d71",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 324.211,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.16423,
    "h": 348.2
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#9F2D71
secondary
#6ABE8C
accent
#DF8549
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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