#9C2D74#9C2D74

#9C2D74 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.164 H 345.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9C2D74
RGBrgb(156, 45, 116)
HSLhsl(322, 55%, 39%)
HSVhsv(322, 71%, 61%)
CMYKcmyk(0%, 71.2%, 25.6%, 38.8%)
CIE-LABlab(38.21, 52.40, -15.38)
CIE-LCHlch(38.21, 54.61, 343.64°)
OKLaboklab(48.9% 0.1585 -0.0408)
OKLCHoklch(48.9% 0.164 345.6)
XYZxyz(17.8018, 10.2075, 17.5523)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D74 #2D9C55
analogous
#8D2D9C #9C2D74 #9C2D3C
triadic
#9C2D74 #749C2D #2D749C
tetradic
#9C2D74 #9C8D2D #2D9C55 #2D3C9C
square
#9C2D74 #9C8D2D #2D9C55 #2D3C9C
split-complementary
#9C2D74 #3C9C2D #2D9C8D
monochromatic
#3D122D #6D1F51 #9C2D74 #C83F96 #D56EB0

Accessibility & contrast

On white

6.91
#9C2D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C2D74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D74
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D74#FFFFFF#000000##FFFFFF
##9C2D741.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#A72B4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2d74;
/* rgb */ color: rgb(156, 45, 116);
/* oklch */ color: oklch(48.9% 0.164 345.6);
Tailwind
colors: {
  custom: {
    50: '#bd6f9c',
    500: '#9c2d74',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d74;
$custom-light: #bd6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d74",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 321.622,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.1637,
    "h": 345.6
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#9C2D74
secondary
#68BC87
accent
#DF7F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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