#9F2C76#9F2C76

#9F2C76 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 345.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9F2C76
RGBrgb(159, 44, 118)
HSLhsl(321, 57%, 40%)
HSVhsv(321, 72%, 62%)
CMYKcmyk(0%, 72.3%, 25.8%, 37.6%)
CIE-LABlab(38.69, 53.85, -15.84)
CIE-LCHlch(38.69, 56.14, 343.61°)
OKLaboklab(49.38% 0.163 -0.0421)
OKLCHoklch(49.38% 0.168 345.5)
XYZxyz(18.4695, 10.4823, 18.1866)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C76 #2C9F55
analogous
#8E2C9F #9F2C76 #9F2C3D
triadic
#9F2C76 #769F2C #2C769F
tetradic
#9F2C76 #9F8E2C #2C9F55 #2C3D9F
square
#9F2C76 #9F8E2C #2C9F55 #2C3D9F
split-complementary
#9F2C76 #3D9F2C #2C9F8E
monochromatic
#3F112F #6F1F52 #9F2C76 #CA3E98 #D76EB2

Accessibility & contrast

On white

6.78
#9F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F2C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C76
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C76#FFFFFF#000000##FFFFFF
##9F2C761.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#AA2A4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2c76;
/* rgb */ color: rgb(159, 44, 118);
/* oklch */ color: oklch(49.4% 0.168 345.5);
Tailwind
colors: {
  custom: {
    50: '#bf6f9d',
    500: '#9f2c76',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c76;
$custom-light: #bf6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c76",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 321.391,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.16837,
    "h": 345.5
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#9F2C76
secondary
#69BE87
accent
#E07E48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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