#9C2A52#9C2A52

#9C2A52 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.152 H 3.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9C2A52
RGBrgb(156, 42, 82)
HSLhsl(339, 58%, 39%)
HSVhsv(339, 73%, 61%)
CMYKcmyk(0%, 73.1%, 47.4%, 38.8%)
CIE-LABlab(36.62, 49.62, 3.81)
CIE-LCHlch(36.62, 49.76, 4.39°)
OKLaboklab(47.34% 0.1518 0.0103)
OKLCHoklch(47.34% 0.152 3.9)
XYZxyz(16.0625, 9.3351, 8.9370)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A52 #2A9C74
analogous
#9C2A8B #9C2A52 #9C3B2A
triadic
#9C2A52 #529C2A #2A529C
tetradic
#9C2A52 #8B9C2A #2A9C74 #3B2A9C
square
#9C2A52 #8B9C2A #2A9C74 #3B2A9C
split-complementary
#9C2A52 #2A9C3B #2A8B9C
monochromatic
#3C101F #6C1D39 #9C2A52 #CA396C #D76A90

Accessibility & contrast

On white

7.33
#9C2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2A52
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A52#FFFFFF#000000##FFFFFF
##9C2A521.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#AA163B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2a52;
/* rgb */ color: rgb(156, 42, 82);
/* oklch */ color: oklch(47.3% 0.152 3.9);
Tailwind
colors: {
  custom: {
    50: '#be6d82',
    500: '#9c2a52',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a52;
$custom-light: #be6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a52",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 338.947,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.15214,
    "h": 3.9
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#9C2A52
secondary
#65BD9E
accent
#E1AB47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9C2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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