#9C2E71#9C2E71

#9C2E71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.161 H 347.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9C2E71
RGBrgb(156, 46, 113)
HSLhsl(323, 54%, 40%)
HSVhsv(323, 71%, 61%)
CMYKcmyk(0%, 70.5%, 27.6%, 38.8%)
CIE-LABlab(38.23, 51.62, -13.48)
CIE-LCHlch(38.23, 53.35, 345.37°)
OKLaboklab(48.87% 0.1567 -0.0355)
OKLCHoklch(48.87% 0.161 347.2)
XYZxyz(17.6687, 10.2160, 16.6610)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E71 #2E9C59
analogous
#902E9C #9C2E71 #9C2E3A
triadic
#9C2E71 #719C2E #2E719C
tetradic
#9C2E71 #9C902E #2E9C59 #2E3A9C
square
#9C2E71 #9C902E #2E9C59 #2E3A9C
split-complementary
#9C2E71 #3A9C2E #2E9C90
monochromatic
#3D122D #6D204F #9C2E71 #C74092 #D570AD

Accessibility & contrast

On white

6.90
#9C2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E71
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E71#FFFFFF#000000##FFFFFF
##9C2E711.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#5C616E
Tritanopia (blue-blind)
#A72B4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2e71;
/* rgb */ color: rgb(156, 46, 113);
/* oklch */ color: oklch(48.9% 0.161 347.2);
Tailwind
colors: {
  custom: {
    50: '#bd709a',
    500: '#9c2e71',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e71;
$custom-light: #bd709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e71",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 323.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.16063,
    "h": 347.2
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#9C2E71
secondary
#6ABC8A
accent
#DE844A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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