#9C2D52#9C2D52

#9C2D52 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.6% C 0.149 H 4.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9C2D52
RGBrgb(156, 45, 82)
HSLhsl(340, 55%, 39%)
HSVhsv(340, 71%, 61%)
CMYKcmyk(0%, 71.2%, 47.4%, 38.8%)
CIE-LABlab(37.03, 48.48, 4.40)
CIE-LCHlch(37.03, 48.68, 5.19°)
OKLaboklab(47.65% 0.1481 0.0118)
OKLCHoklch(47.65% 0.149 4.5)
XYZxyz(16.1730, 9.5560, 8.9738)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D52 #2D9C77
analogous
#9C2D8A #9C2D52 #9C402D
triadic
#9C2D52 #529C2D #2D529C
tetradic
#9C2D52 #8A9C2D #2D9C77 #402D9C
square
#9C2D52 #8A9C2D #2D9C77 #402D9C
split-complementary
#9C2D52 #2D9C40 #2D8A9C
monochromatic
#3D1220 #6D1F39 #9C2D52 #C83F6C #D56E91

Accessibility & contrast

On white

7.21
#9C2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2D52
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D52#FFFFFF#000000##FFFFFF
##9C2D521.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464953
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#AA1B3C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2d52;
/* rgb */ color: rgb(156, 45, 82);
/* oklch */ color: oklch(47.6% 0.149 4.5);
Tailwind
colors: {
  custom: {
    50: '#be6e82',
    500: '#9c2d52',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d52;
$custom-light: #be6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d52",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 340,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.1486,
    "h": 4.5
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#9C2D52
secondary
#68BCA0
accent
#DFAD49
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9C2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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