#9C2074#9C2074

#9C2074 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 344.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9C2074
RGBrgb(156, 32, 116)
HSLhsl(319, 66%, 37%)
HSVhsv(319, 79%, 61%)
CMYKcmyk(0%, 79.5%, 25.6%, 38.8%)
CIE-LABlab(36.68, 56.75, -17.74)
CIE-LCHlch(36.68, 59.45, 342.64°)
OKLaboklab(47.78% 0.172 -0.0473)
OKLCHoklch(47.78% 0.178 344.6)
XYZxyz(17.3799, 9.3638, 17.4117)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2074 #209C48
analogous
#86209C #9C2074 #9C2036
triadic
#9C2074 #749C20 #20749C
tetradic
#9C2074 #9C8620 #209C48 #20369C
square
#9C2074 #9C8620 #209C48 #20369C
split-complementary
#9C2074 #369C20 #209C86
monochromatic
#360B28 #69164E #9C2074 #CF2A9A #DD59B3

Accessibility & contrast

On white

7.31
#9C2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2074
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2074#FFFFFF#000000##FFFFFF
##9C20741.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#A71E48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2074;
/* rgb */ color: rgb(156, 32, 116);
/* oklch */ color: oklch(47.8% 0.178 344.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a9c',
    500: '#9c2074',
    950: '#000000',
  },
}
SCSS
$custom: #9c2074;
$custom-light: #bd6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2074",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 319.355,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.17835,
    "h": 344.6
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#9C2074
secondary
#57C179
accent
#E9763F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2074

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

Preview Lab → · Contrast checker → · Palette generator →

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