#9C2071#9C2071

#9C2071 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 346.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9C2071
RGBrgb(156, 32, 113)
HSLhsl(321, 66%, 37%)
HSVhsv(321, 79%, 61%)
CMYKcmyk(0%, 79.5%, 27.6%, 38.8%)
CIE-LABlab(36.55, 56.37, -16.05)
CIE-LCHlch(36.55, 58.61, 344.11°)
OKLaboklab(47.64% 0.1714 -0.0426)
OKLCHoklch(47.64% 0.177 346.1)
XYZxyz(17.2083, 9.2951, 16.5075)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2071 #209C4B
analogous
#89209C #9C2071 #9C2033
triadic
#9C2071 #719C20 #20719C
tetradic
#9C2071 #9C8920 #209C4B #20339C
square
#9C2071 #9C8920 #209C4B #20339C
split-complementary
#9C2071 #339C20 #209C89
monochromatic
#360B27 #69164C #9C2071 #CF2A96 #DD59AF

Accessibility & contrast

On white

7.35
#9C2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9C2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2071
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2071#FFFFFF#000000##FFFFFF
##9C20711.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#585D6E
Tritanopia (blue-blind)
#A71C46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2071;
/* rgb */ color: rgb(156, 32, 113);
/* oklch */ color: oklch(47.6% 0.177 346.1);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9c2071',
    950: '#000000',
  },
}
SCSS
$custom: #9c2071;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2071",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 320.806,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.1766,
    "h": 346.1
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#9C2071
secondary
#57C17C
accent
#E97A3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2071

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

Preview Lab → · Contrast checker → · Palette generator →

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