#9C2873#9C2873

#9C2873 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.169 H 345.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9C2873
RGBrgb(156, 40, 115)
HSLhsl(321, 59%, 38%)
HSVhsv(321, 74%, 61%)
CMYKcmyk(0%, 74.4%, 26.3%, 38.8%)
CIE-LABlab(37.53, 54.08, -15.80)
CIE-LCHlch(37.53, 56.34, 343.71°)
OKLaboklab(48.38% 0.1639 -0.0419)
OKLCHoklch(48.38% 0.169 345.6)
XYZxyz(17.5644, 9.8252, 17.1878)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2873 #289C51
analogous
#8B289C #9C2873 #9C2839
triadic
#9C2873 #739C28 #28739C
tetradic
#9C2873 #9C8B28 #289C51 #28399C
square
#9C2873 #9C8B28 #289C51 #28399C
split-complementary
#9C2873 #399C28 #289C8B
monochromatic
#3B0F2B #6B1C4F #9C2873 #CB3697 #D867B0

Accessibility & contrast

On white

7.08
#9C2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C2873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2873
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2873#FFFFFF#000000##FFFFFF
##9C28731.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C75
Deuteranopia (green-blind)
#5A5F70
Tritanopia (blue-blind)
#A7264A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2873;
/* rgb */ color: rgb(156, 40, 115);
/* oklch */ color: oklch(48.4% 0.169 345.6);
Tailwind
colors: {
  custom: {
    50: '#bd6d9b',
    500: '#9c2873',
    950: '#000000',
  },
}
SCSS
$custom: #9c2873;
$custom-light: #bd6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2873",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 321.207,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.16919,
    "h": 345.6
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#9C2873
secondary
#62BE82
accent
#E27D45
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2873

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

Preview Lab → · Contrast checker → · Palette generator →

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