#9C277B#9C277B

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

Color values

HEX#9C277B
RGBrgb(156, 39, 123)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 61%)
CMYKcmyk(0%, 75%, 21.2%, 38.8%)
CIE-LABlab(37.75, 55.50, -20.45)
CIE-LCHlch(37.75, 59.14, 339.77°)
OKLaboklab(48.66% 0.1665 -0.055)
OKLCHoklch(48.66% 0.175 341.7)
XYZxyz(18.0116, 9.9508, 19.7072)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C277B #279C48
analogous
#82279C #9C277B #9C2740
triadic
#9C277B #7B9C27 #277B9C
tetradic
#9C277B #9C8227 #279C48 #27409C
square
#9C277B #9C8227 #279C48 #27409C
split-complementary
#9C277B #409C27 #279C82
monochromatic
#3A0F2E #6B1B54 #9C277B #CC34A1 #D865B8

Accessibility & contrast

On white

7.02
#9C277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9C277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C277B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C277B#FFFFFF#000000##FFFFFF
##9C277B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A6294E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c277b;
/* rgb */ color: rgb(156, 39, 123);
/* oklch */ color: oklch(48.7% 0.175 341.7);
Tailwind
colors: {
  custom: {
    50: '#bd6da1',
    500: '#9c277b',
    950: '#000000',
  },
}
SCSS
$custom: #9c277b;
$custom-light: #bd6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c277b",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 316.923,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.17531,
    "h": 341.7
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#9C277B
secondary
#61BE7B
accent
#E37145
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9C277B

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

Preview Lab → · Contrast checker → · Palette generator →

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