#9F2B76#9F2B76

#9F2B76 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.170 H 345.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9F2B76
RGBrgb(159, 43, 118)
HSLhsl(321, 57%, 40%)
HSVhsv(321, 73%, 62%)
CMYKcmyk(0%, 73%, 25.8%, 37.6%)
CIE-LABlab(38.57, 54.22, -16.04)
CIE-LCHlch(38.57, 56.54, 343.52°)
OKLaboklab(49.28% 0.1642 -0.0426)
OKLCHoklch(49.28% 0.17 345.5)
XYZxyz(18.4327, 10.4086, 18.1744)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B76 #2B9F54
analogous
#8E2B9F #9F2B76 #9F2B3C
triadic
#9F2B76 #769F2B #2B769F
tetradic
#9F2B76 #9F8E2B #2B9F54 #2B3C9F
square
#9F2B76 #9F8E2B #2B9F54 #2B3C9F
split-complementary
#9F2B76 #3C9F2B #2B9F8E
monochromatic
#3F112E #6F1E52 #9F2B76 #CA3D98 #D76DB2

Accessibility & contrast

On white

6.82
#9F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F2B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B76
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B76#FFFFFF#000000##FFFFFF
##9F2B761.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#AA294D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2b76;
/* rgb */ color: rgb(159, 43, 118);
/* oklch */ color: oklch(49.3% 0.170 345.5);
Tailwind
colors: {
  custom: {
    50: '#bf6f9d',
    500: '#9f2b76',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b76;
$custom-light: #bf6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b76",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 321.207,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.16959,
    "h": 345.5
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#9F2B76
secondary
#67BE86
accent
#E17D47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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