#9C277D#9C277D

#9C277D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.177 H 340.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9C277D
RGBrgb(156, 39, 125)
HSLhsl(316, 60%, 38%)
HSVhsv(316, 75%, 61%)
CMYKcmyk(0%, 75%, 19.9%, 38.8%)
CIE-LABlab(37.84, 55.77, -21.56)
CIE-LCHlch(37.84, 59.79, 338.87°)
OKLaboklab(48.76% 0.1668 -0.0581)
OKLCHoklch(48.76% 0.177 340.8)
XYZxyz(18.1380, 10.0014, 20.3733)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C277D #279C46
analogous
#80279C #9C277D #9C2743
triadic
#9C277D #7D9C27 #277D9C
tetradic
#9C277D #9C8027 #279C46 #27439C
square
#9C277D #9C8027 #279C46 #27439C
split-complementary
#9C277D #439C27 #279C80
monochromatic
#3A0F2F #6B1B56 #9C277D #CC34A4 #D865BA

Accessibility & contrast

On white

7.00
#9C277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9C277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C277D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C277D#FFFFFF#000000##FFFFFF
##9C277D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A62A4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c277d;
/* rgb */ color: rgb(156, 39, 125);
/* oklch */ color: oklch(48.8% 0.177 340.8);
Tailwind
colors: {
  custom: {
    50: '#bd6da3',
    500: '#9c277d',
    950: '#000000',
  },
}
SCSS
$custom: #9c277d;
$custom-light: #bd6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c277d",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 315.897,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.17661,
    "h": 340.8
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#9C277D
secondary
#61BE79
accent
#E36F45
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C277D

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

Preview Lab → · Contrast checker → · Palette generator →

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