#9F2D72#9F2D72

#9F2D72 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 347.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F2D72
RGBrgb(159, 45, 114)
HSLhsl(324, 56%, 40%)
HSVhsv(324, 72%, 62%)
CMYKcmyk(0%, 71.7%, 28.3%, 37.6%)
CIE-LABlab(38.66, 52.97, -13.39)
CIE-LCHlch(38.66, 54.63, 345.81°)
OKLaboklab(49.3% 0.161 -0.0353)
OKLCHoklch(49.3% 0.165 347.6)
XYZxyz(18.2746, 10.4646, 16.9738)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D72 #2D9F5A
analogous
#932D9F #9F2D72 #9F2D39
triadic
#9F2D72 #729F2D #2D729F
tetradic
#9F2D72 #9F932D #2D9F5A #2D399F
square
#9F2D72 #9F932D #2D9F5A #2D399F
split-complementary
#9F2D72 #399F2D #2D9F93
monochromatic
#40122E #6F2050 #9F2D72 #C94093 #D670AE

Accessibility & contrast

On white

6.79
#9F2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2D72
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D72#FFFFFF#000000##FFFFFF
##9F2D721.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#AA294B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d72;
/* rgb */ color: rgb(159, 45, 114);
/* oklch */ color: oklch(49.3% 0.165 347.6);
Tailwind
colors: {
  custom: {
    50: '#bf709a',
    500: '#9f2d72',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d72;
$custom-light: #bf709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d72",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 323.684,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.16479,
    "h": 347.6
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#9F2D72
secondary
#6ABE8B
accent
#DF8449
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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