#9C2874#9C2874

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

Color values

HEX#9C2874
RGBrgb(156, 40, 116)
HSLhsl(321, 59%, 38%)
HSVhsv(321, 74%, 61%)
CMYKcmyk(0%, 74.4%, 25.6%, 38.8%)
CIE-LABlab(37.57, 54.21, -16.36)
CIE-LCHlch(37.57, 56.63, 343.20°)
OKLaboklab(48.43% 0.1641 -0.0435)
OKLCHoklch(48.43% 0.17 345.2)
XYZxyz(17.6222, 9.8483, 17.4925)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2874 #289C50
analogous
#8A289C #9C2874 #9C283A
triadic
#9C2874 #749C28 #28749C
tetradic
#9C2874 #9C8A28 #289C50 #283A9C
square
#9C2874 #9C8A28 #289C50 #283A9C
split-complementary
#9C2874 #3A9C28 #289C8A
monochromatic
#3B0F2C #6B1C50 #9C2874 #CB3698 #D867B1

Accessibility & contrast

On white

7.07
#9C2874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C2874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2874
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2874#FFFFFF#000000##FFFFFF
##9C28741.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A7264A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2874;
/* rgb */ color: rgb(156, 40, 116);
/* oklch */ color: oklch(48.4% 0.170 345.2);
Tailwind
colors: {
  custom: {
    50: '#bd6d9c',
    500: '#9c2874',
    950: '#000000',
  },
}
SCSS
$custom: #9c2874;
$custom-light: #bd6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2874",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 320.69,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48428,
    "c": 0.16979,
    "h": 345.2
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2874

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

Preview Lab → · Contrast checker → · Palette generator →

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