#9C2875#9C2875

#9C2875 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 344.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C2875
RGBrgb(156, 40, 117)
HSLhsl(320, 59%, 38%)
HSVhsv(320, 74%, 61%)
CMYKcmyk(0%, 74.4%, 25%, 38.8%)
CIE-LABlab(37.61, 54.34, -16.93)
CIE-LCHlch(37.61, 56.92, 342.70°)
OKLaboklab(48.47% 0.1643 -0.0451)
OKLCHoklch(48.47% 0.17 344.7)
XYZxyz(17.6807, 9.8717, 17.8005)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2875 #289C4F
analogous
#89289C #9C2875 #9C283B
triadic
#9C2875 #759C28 #28759C
tetradic
#9C2875 #9C8928 #289C4F #283B9C
square
#9C2875 #9C8928 #289C4F #283B9C
split-complementary
#9C2875 #3B9C28 #289C89
monochromatic
#3B0F2C #6B1C50 #9C2875 #CB3699 #D867B2

Accessibility & contrast

On white

7.06
#9C2875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2875
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2875#FFFFFF#000000##FFFFFF
##9C28751.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C77
Deuteranopia (green-blind)
#596072
Tritanopia (blue-blind)
#A7274B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2875;
/* rgb */ color: rgb(156, 40, 117);
/* oklch */ color: oklch(48.5% 0.170 344.7);
Tailwind
colors: {
  custom: {
    50: '#bd6d9d',
    500: '#9c2875',
    950: '#000000',
  },
}
SCSS
$custom: #9c2875;
$custom-light: #bd6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2875",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 320.172,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.17039,
    "h": 344.7
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#9C2875
secondary
#62BE81
accent
#E27A45
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2875

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

Preview Lab → · Contrast checker → · Palette generator →

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