#9F2971#9F2971

#9F2971 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.169 H 347.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2971
RGBrgb(159, 41, 113)
HSLhsl(323, 59%, 39%)
HSVhsv(323, 74%, 62%)
CMYKcmyk(0%, 74.2%, 28.9%, 37.6%)
CIE-LABlab(38.11, 54.27, -13.60)
CIE-LCHlch(38.11, 55.95, 345.93°)
OKLaboklab(48.89% 0.1652 -0.0358)
OKLCHoklch(48.89% 0.169 347.8)
XYZxyz(18.0725, 10.1511, 16.6272)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2971 #299F57
analogous
#92299F #9F2971 #9F2936
triadic
#9F2971 #719F29 #29719F
tetradic
#9F2971 #9F9229 #299F57 #29369F
square
#9F2971 #9F9229 #299F57 #29369F
split-complementary
#9F2971 #369F29 #299F92
monochromatic
#3E102C #6E1C4E #9F2971 #CC3993 #D96AAD

Accessibility & contrast

On white

6.93
#9F2971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2971
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2971#FFFFFF#000000##FFFFFF
##9F29711.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#AA2449
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2971;
/* rgb */ color: rgb(159, 41, 113);
/* oklch */ color: oklch(48.9% 0.169 347.8);
Tailwind
colors: {
  custom: {
    50: '#bf6e9a',
    500: '#9f2971',
    950: '#000000',
  },
}
SCSS
$custom: #9f2971;
$custom-light: #bf6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2971",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 323.39,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.16905,
    "h": 347.8
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#9F2971
secondary
#65BF88
accent
#E28346
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2971

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

Preview Lab → · Contrast checker → · Palette generator →

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