#9F2972#9F2972

#9F2972 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 347.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F2972
RGBrgb(159, 41, 114)
HSLhsl(323, 59%, 39%)
HSVhsv(323, 74%, 62%)
CMYKcmyk(0%, 74.2%, 28.3%, 37.6%)
CIE-LABlab(38.15, 54.40, -14.17)
CIE-LCHlch(38.15, 56.22, 345.40°)
OKLaboklab(48.93% 0.1654 -0.0374)
OKLCHoklch(48.93% 0.17 347.3)
XYZxyz(18.1291, 10.1737, 16.9253)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2972 #299F56
analogous
#91299F #9F2972 #9F2937
triadic
#9F2972 #729F29 #29729F
tetradic
#9F2972 #9F9129 #299F56 #29379F
square
#9F2972 #9F9129 #299F56 #29379F
split-complementary
#9F2972 #379F29 #299F91
monochromatic
#3E102C #6E1C4F #9F2972 #CC3994 #D96AAE

Accessibility & contrast

On white

6.92
#9F2972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2972
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2972#FFFFFF#000000##FFFFFF
##9F29721.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2972;
/* rgb */ color: rgb(159, 41, 114);
/* oklch */ color: oklch(48.9% 0.170 347.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9f2972',
    950: '#000000',
  },
}
SCSS
$custom: #9f2972;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2972",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 322.881,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.16961,
    "h": 347.3
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#9F2972
secondary
#65BF87
accent
#E28146
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2972

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

Preview Lab → · Contrast checker → · Palette generator →

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