#9C2879#9C2879

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

Color values

HEX#9C2879
RGBrgb(156, 40, 121)
HSLhsl(318, 59%, 38%)
HSVhsv(318, 74%, 61%)
CMYKcmyk(0%, 74.4%, 22.4%, 38.8%)
CIE-LABlab(37.78, 54.88, -19.16)
CIE-LCHlch(37.78, 58.13, 340.76°)
OKLaboklab(48.66% 0.1651 -0.0513)
OKLCHoklch(48.66% 0.173 342.7)
XYZxyz(17.9209, 9.9678, 19.0656)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2879 #289C4B
analogous
#85289C #9C2879 #9C283F
triadic
#9C2879 #799C28 #28799C
tetradic
#9C2879 #9C8528 #289C4B #283F9C
square
#9C2879 #9C8528 #289C4B #283F9C
split-complementary
#9C2879 #3F9C28 #289C85
monochromatic
#3B0F2D #6B1C53 #9C2879 #CB369E #D867B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2879#FFFFFF#000000##FFFFFF
##9C28791.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)
#344D7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A6294D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2879;
/* rgb */ color: rgb(156, 40, 121);
/* oklch */ color: oklch(48.7% 0.173 342.7);
Tailwind
colors: {
  custom: {
    50: '#bd6da0',
    500: '#9c2879',
    950: '#000000',
  },
}
SCSS
$custom: #9c2879;
$custom-light: #bd6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2879",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 318.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48656,
    "c": 0.17289,
    "h": 342.7
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#9C2879
secondary
#62BE7E
accent
#E27545
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2879

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

Preview Lab → · Contrast checker → · Palette generator →

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