#9F2C74#9F2C74

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

Color values

HEX#9F2C74
RGBrgb(159, 44, 116)
HSLhsl(322, 57%, 40%)
HSVhsv(322, 72%, 62%)
CMYKcmyk(0%, 72.3%, 27%, 37.6%)
CIE-LABlab(38.61, 53.59, -14.72)
CIE-LCHlch(38.61, 55.58, 344.64°)
OKLaboklab(49.29% 0.1626 -0.0389)
OKLCHoklch(49.29% 0.167 346.5)
XYZxyz(18.3519, 10.4352, 17.5673)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C74 #2C9F57
analogous
#912C9F #9F2C74 #9F2C3A
triadic
#9F2C74 #749F2C #2C749F
tetradic
#9F2C74 #9F912C #2C9F57 #2C3A9F
square
#9F2C74 #9F912C #2C9F57 #2C3A9F
split-complementary
#9F2C74 #3A9F2C #2C9F91
monochromatic
#3F112E #6F1F51 #9F2C74 #CA3E96 #D76EB0

Accessibility & contrast

On white

6.80
#9F2C74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2C74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C74
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C74#FFFFFF#000000##FFFFFF
##9F2C741.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#AA294C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2c74;
/* rgb */ color: rgb(159, 44, 116);
/* oklch */ color: oklch(49.3% 0.167 346.5);
Tailwind
colors: {
  custom: {
    50: '#bf6f9c',
    500: '#9f2c74',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c74;
$custom-light: #bf6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c74",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 322.435,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.16719,
    "h": 346.5
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#9F2C74
secondary
#69BE89
accent
#E08148
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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