#9F2A76#9F2A76

#9F2A76 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.171 H 345.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9F2A76
RGBrgb(159, 42, 118)
HSLhsl(321, 58%, 39%)
HSVhsv(321, 74%, 62%)
CMYKcmyk(0%, 73.6%, 25.8%, 37.6%)
CIE-LABlab(38.44, 54.57, -16.23)
CIE-LCHlch(38.44, 56.93, 343.43°)
OKLaboklab(49.19% 0.1652 -0.0431)
OKLCHoklch(49.19% 0.171 345.4)
XYZxyz(18.3968, 10.3368, 18.1624)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A76 #2A9F53
analogous
#8E2A9F #9F2A76 #9F2A3B
triadic
#9F2A76 #769F2A #2A769F
tetradic
#9F2A76 #9F8E2A #2A9F53 #2A3B9F
square
#9F2A76 #9F8E2A #2A9F53 #2A3B9F
split-complementary
#9F2A76 #3B9F2A #2A9F8E
monochromatic
#3E102E #6F1D52 #9F2A76 #CB3B99 #D86BB2

Accessibility & contrast

On white

6.85
#9F2A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F2A76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A76
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A76#FFFFFF#000000##FFFFFF
##9F2A761.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#AA284C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2a76;
/* rgb */ color: rgb(159, 42, 118);
/* oklch */ color: oklch(49.2% 0.171 345.4);
Tailwind
colors: {
  custom: {
    50: '#bf6f9d',
    500: '#9f2a76',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a76;
$custom-light: #bf6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a76",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 321.026,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.17077,
    "h": 345.4
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#9F2A76
secondary
#66BF85
accent
#E17D46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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