#9C277A#9C277A

#9C277A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.175 H 342.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9C277A
RGBrgb(156, 39, 122)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 61%)
CMYKcmyk(0%, 75%, 21.8%, 38.8%)
CIE-LABlab(37.71, 55.36, -19.90)
CIE-LCHlch(37.71, 58.83, 340.23°)
OKLaboklab(48.62% 0.1663 -0.0534)
OKLCHoklch(48.62% 0.175 342.2)
XYZxyz(17.9493, 9.9259, 19.3792)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C277A #279C49
analogous
#83279C #9C277A #9C273F
triadic
#9C277A #7A9C27 #277A9C
tetradic
#9C277A #9C8327 #279C49 #273F9C
square
#9C277A #9C8327 #279C49 #273F9C
split-complementary
#9C277A #3F9C27 #279C83
monochromatic
#3A0F2D #6B1B54 #9C277A #CC34A0 #D865B7

Accessibility & contrast

On white

7.04
#9C277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C277A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C277A#FFFFFF#000000##FFFFFF
##9C277A1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7C
Deuteranopia (green-blind)
#576077
Tritanopia (blue-blind)
#A6284D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c277a;
/* rgb */ color: rgb(156, 39, 122);
/* oklch */ color: oklch(48.6% 0.175 342.2);
Tailwind
colors: {
  custom: {
    50: '#bd6da0',
    500: '#9c277a',
    950: '#000000',
  },
}
SCSS
$custom: #9c277a;
$custom-light: #bd6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c277a",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 317.436,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48615,
    "c": 0.17467,
    "h": 342.2
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#9C277A
secondary
#61BE7C
accent
#E37345
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C277A

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

Preview Lab → · Contrast checker → · Palette generator →

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