#9F2872#9F2872

#9F2872 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.171 H 347.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9F2872
RGBrgb(159, 40, 114)
HSLhsl(323, 60%, 39%)
HSVhsv(323, 75%, 62%)
CMYKcmyk(0%, 74.8%, 28.3%, 37.6%)
CIE-LABlab(38.03, 54.74, -14.36)
CIE-LCHlch(38.03, 56.59, 345.31°)
OKLaboklab(48.84% 0.1665 -0.0379)
OKLCHoklch(48.84% 0.171 347.2)
XYZxyz(18.0950, 10.1054, 16.9139)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2872 #289F55
analogous
#91289F #9F2872 #9F2837
triadic
#9F2872 #729F28 #28729F
tetradic
#9F2872 #9F9128 #289F55 #28379F
square
#9F2872 #9F9128 #289F55 #28379F
split-complementary
#9F2872 #379F28 #289F91
monochromatic
#3D0F2C #6E1C4F #9F2872 #CD3794 #D968AE

Accessibility & contrast

On white

6.95
#9F2872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F2872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2872
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2872#FFFFFF#000000##FFFFFF
##9F28721.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#AA2449
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2872;
/* rgb */ color: rgb(159, 40, 114);
/* oklch */ color: oklch(48.8% 0.171 347.2);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9f2872',
    950: '#000000',
  },
}
SCSS
$custom: #9f2872;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2872",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 322.689,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.17076,
    "h": 347.2
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#9F2872
secondary
#64BF86
accent
#E38145
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2872

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

Preview Lab → · Contrast checker → · Palette generator →

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