#9C2452#9C2452

#9C2452 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.159 H 2.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9C2452
RGBrgb(156, 36, 82)
HSLhsl(337, 63%, 38%)
HSVhsv(337, 77%, 61%)
CMYKcmyk(0%, 76.9%, 47.4%, 38.8%)
CIE-LABlab(35.87, 51.72, 2.73)
CIE-LCHlch(35.87, 51.79, 3.02°)
OKLaboklab(46.79% 0.1585 0.0076)
OKLCHoklch(46.79% 0.159 2.7)
XYZxyz(15.8655, 8.9410, 8.8713)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2452 #249C6E
analogous
#9C248E #9C2452 #9C3224
triadic
#9C2452 #529C24 #24529C
tetradic
#9C2452 #8E9C24 #249C6E #32249C
square
#9C2452 #8E9C24 #249C6E #32249C
split-complementary
#9C2452 #249C32 #248E9C
monochromatic
#390D1E #6A1938 #9C2452 #CE2F6C #DA608F

Accessibility & contrast

On white

7.53
#9C2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9C2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2452
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2452#FFFFFF#000000##FFFFFF
##9C24521.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#605D4F
Tritanopia (blue-blind)
#AA0938
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2452;
/* rgb */ color: rgb(156, 36, 82);
/* oklch */ color: oklch(46.8% 0.159 2.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a82',
    500: '#9c2452',
    950: '#000000',
  },
}
SCSS
$custom: #9c2452;
$custom-light: #bf6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2452",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 337,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.15871,
    "h": 2.7
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#9C2452
secondary
#5CBF99
accent
#E6A742
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2452

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

Preview Lab → · Contrast checker → · Palette generator →

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