#9F2A72#9F2A72

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

Color values

HEX#9F2A72
RGBrgb(159, 42, 114)
HSLhsl(323, 58%, 39%)
HSVhsv(323, 74%, 62%)
CMYKcmyk(0%, 73.6%, 28.3%, 37.6%)
CIE-LABlab(38.28, 54.05, -13.98)
CIE-LCHlch(38.28, 55.83, 345.50°)
OKLaboklab(49.02% 0.1644 -0.0369)
OKLCHoklch(49.02% 0.168 347.4)
XYZxyz(18.1642, 10.2438, 16.9370)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A72 #2A9F57
analogous
#922A9F #9F2A72 #9F2A38
triadic
#9F2A72 #729F2A #2A729F
tetradic
#9F2A72 #9F922A #2A9F57 #2A389F
square
#9F2A72 #9F922A #2A9F57 #2A389F
split-complementary
#9F2A72 #389F2A #2A9F92
monochromatic
#3E102D #6F1D4F #9F2A72 #CB3B94 #D86BAE

Accessibility & contrast

On white

6.89
#9F2A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F2A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A72
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A72#FFFFFF#000000##FFFFFF
##9F2A721.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#5D616F
Tritanopia (blue-blind)
#AA264A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2a72;
/* rgb */ color: rgb(159, 42, 114);
/* oklch */ color: oklch(49.0% 0.168 347.4);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9f2a72',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a72;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a72",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 323.077,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.16844,
    "h": 347.4
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#9F2A72
secondary
#66BF88
accent
#E18246
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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