#9F2976#9F2976

#9F2976 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.172 H 345.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F2976
RGBrgb(159, 41, 118)
HSLhsl(321, 59%, 39%)
HSVhsv(321, 74%, 62%)
CMYKcmyk(0%, 74.2%, 25.8%, 37.6%)
CIE-LABlab(38.32, 54.92, -16.42)
CIE-LCHlch(38.32, 57.32, 343.35°)
OKLaboklab(49.1% 0.1663 -0.0436)
OKLCHoklch(49.1% 0.172 345.3)
XYZxyz(18.3618, 10.2668, 18.1507)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2976 #299F52
analogous
#8D299F #9F2976 #9F293B
triadic
#9F2976 #769F29 #29769F
tetradic
#9F2976 #9F8D29 #299F52 #293B9F
square
#9F2976 #9F8D29 #299F52 #293B9F
split-complementary
#9F2976 #3B9F29 #299F8D
monochromatic
#3E102E #6E1C52 #9F2976 #CC3999 #D96AB2

Accessibility & contrast

On white

6.88
#9F2976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2976
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2976#FFFFFF#000000##FFFFFF
##9F29761.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#AA274C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2976;
/* rgb */ color: rgb(159, 41, 118);
/* oklch */ color: oklch(49.1% 0.172 345.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e9d',
    500: '#9f2976',
    950: '#000000',
  },
}
SCSS
$custom: #9f2976;
$custom-light: #bf6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2976",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 320.847,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.17195,
    "h": 345.3
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#9F2976
secondary
#65BF84
accent
#E27C46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2976

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

Preview Lab → · Contrast checker → · Palette generator →

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