#9C2F74#9C2F74

#9C2F74 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.161 H 345.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9C2F74
RGBrgb(156, 47, 116)
HSLhsl(322, 54%, 40%)
HSVhsv(322, 70%, 61%)
CMYKcmyk(0%, 69.9%, 25.6%, 38.8%)
CIE-LABlab(38.49, 51.63, -14.96)
CIE-LCHlch(38.49, 53.75, 343.84°)
OKLaboklab(49.1% 0.1562 -0.0397)
OKLCHoklch(49.1% 0.161 345.7)
XYZxyz(17.8799, 10.3638, 17.5784)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F74 #2F9C57
analogous
#8D2F9C #9C2F74 #9C2F3E
triadic
#9C2F74 #749C2F #2F749C
tetradic
#9C2F74 #9C8D2F #2F9C57 #2F3E9C
square
#9C2F74 #9C8D2F #2F9C57 #2F3E9C
split-complementary
#9C2F74 #3E9C2F #2F9C8D
monochromatic
#3E132E #6D2151 #9C2F74 #C64296 #D471B0

Accessibility & contrast

On white

6.84
#9C2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2F74
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F74#FFFFFF#000000##FFFFFF
##9C2F741.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#5C6171
Tritanopia (blue-blind)
#A72D4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2f74;
/* rgb */ color: rgb(156, 47, 116);
/* oklch */ color: oklch(49.1% 0.161 345.7);
Tailwind
colors: {
  custom: {
    50: '#bd709c',
    500: '#9c2f74',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f74;
$custom-light: #bd709c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f74",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 322.018,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.16112,
    "h": 345.7
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#9C2F74
secondary
#6BBC89
accent
#DD804B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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