#9C2877#9C2877

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

Color values

HEX#9C2877
RGBrgb(156, 40, 119)
HSLhsl(319, 59%, 38%)
HSVhsv(319, 74%, 61%)
CMYKcmyk(0%, 74.4%, 23.7%, 38.8%)
CIE-LABlab(37.70, 54.61, -18.04)
CIE-LCHlch(37.70, 57.51, 341.71°)
OKLaboklab(48.56% 0.1647 -0.0482)
OKLCHoklch(48.56% 0.172 343.7)
XYZxyz(17.7995, 9.9193, 18.4264)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2877 #289C4D
analogous
#87289C #9C2877 #9C283D
triadic
#9C2877 #779C28 #28779C
tetradic
#9C2877 #9C8728 #289C4D #283D9C
square
#9C2877 #9C8728 #289C4D #283D9C
split-complementary
#9C2877 #3D9C28 #289C87
monochromatic
#3B0F2D #6B1C52 #9C2877 #CB369C #D867B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2877#FFFFFF#000000##FFFFFF
##9C28771.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)
#354C79
Deuteranopia (green-blind)
#586074
Tritanopia (blue-blind)
#A6284C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2877;
/* rgb */ color: rgb(156, 40, 119);
/* oklch */ color: oklch(48.6% 0.172 343.7);
Tailwind
colors: {
  custom: {
    50: '#bd6d9e',
    500: '#9c2877',
    950: '#000000',
  },
}
SCSS
$custom: #9c2877;
$custom-light: #bd6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2877",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 319.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.17163,
    "h": 343.7
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#9C2877
secondary
#62BE7F
accent
#E27745
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2877

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

Preview Lab → · Contrast checker → · Palette generator →

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