#9C277E#9C277E

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

Color values

HEX#9C277E
RGBrgb(156, 39, 126)
HSLhsl(315, 60%, 38%)
HSVhsv(315, 75%, 61%)
CMYKcmyk(0%, 75%, 19.2%, 38.8%)
CIE-LABlab(37.89, 55.91, -22.11)
CIE-LCHlch(37.89, 60.13, 338.43°)
OKLaboklab(48.81% 0.1669 -0.0596)
OKLCHoklch(48.81% 0.177 340.3)
XYZxyz(18.2022, 10.0271, 20.7114)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C277E #279C45
analogous
#7F279C #9C277E #9C2743
triadic
#9C277E #7E9C27 #277E9C
tetradic
#9C277E #9C7F27 #279C45 #27439C
square
#9C277E #9C7F27 #279C45 #27439C
split-complementary
#9C277E #439C27 #279C7F
monochromatic
#3A0F2F #6B1B56 #9C277E #CC34A5 #D865BB

Accessibility & contrast

On white

6.99
#9C277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C277E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C277E#FFFFFF#000000##FFFFFF
##9C277E1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A52A4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c277e;
/* rgb */ color: rgb(156, 39, 126);
/* oklch */ color: oklch(48.8% 0.177 340.3);
Tailwind
colors: {
  custom: {
    50: '#bd6da3',
    500: '#9c277e',
    950: '#000000',
  },
}
SCSS
$custom: #9c277e;
$custom-light: #bd6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c277e",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 315.385,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.17728,
    "h": 340.3
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#9C277E
secondary
#61BE79
accent
#E36D45
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C277E

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

Preview Lab → · Contrast checker → · Palette generator →

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