#9C277F#9C277F

#9C277F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 339.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9C277F
RGBrgb(156, 39, 127)
HSLhsl(315, 60%, 38%)
HSVhsv(315, 75%, 61%)
CMYKcmyk(0%, 75%, 18.6%, 38.8%)
CIE-LABlab(37.94, 56.06, -22.65)
CIE-LCHlch(37.94, 60.46, 337.99°)
OKLaboklab(48.86% 0.1671 -0.0612)
OKLCHoklch(48.86% 0.178 339.9)
XYZxyz(18.2671, 10.0531, 21.0530)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C277F #279C44
analogous
#7E279C #9C277F #9C2744
triadic
#9C277F #7F9C27 #277F9C
tetradic
#9C277F #9C7E27 #279C44 #27449C
square
#9C277F #9C7E27 #279C44 #27449C
split-complementary
#9C277F #449C27 #279C7E
monochromatic
#3A0F2F #6B1B57 #9C277F #CC34A6 #D865BC

Accessibility & contrast

On white

6.98
#9C277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C277F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C277F#FFFFFF#000000##FFFFFF
##9C277F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A52B50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c277f;
/* rgb */ color: rgb(156, 39, 127);
/* oklch */ color: oklch(48.9% 0.178 339.9);
Tailwind
colors: {
  custom: {
    50: '#bd6da4',
    500: '#9c277f',
    950: '#000000',
  },
}
SCSS
$custom: #9c277f;
$custom-light: #bd6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c277f",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 314.872,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.17794,
    "h": 339.9
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#9C277F
secondary
#61BE78
accent
#E36C45
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C277F

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

Preview Lab → · Contrast checker → · Palette generator →

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