#9C2252#9C2252

#9C2252 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 2.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9C2252
RGBrgb(156, 34, 82)
HSLhsl(336, 64%, 37%)
HSVhsv(336, 78%, 61%)
CMYKcmyk(0%, 78.2%, 47.4%, 38.8%)
CIE-LABlab(35.64, 52.37, 2.40)
CIE-LCHlch(35.64, 52.42, 2.62°)
OKLaboklab(46.62% 0.1606 0.0067)
OKLCHoklch(46.62% 0.161 2.4)
XYZxyz(15.8066, 8.8233, 8.8517)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2252 #229C6C
analogous
#9C228F #9C2252 #9C2F22
triadic
#9C2252 #529C22 #22529C
tetradic
#9C2252 #8F9C22 #229C6C #2F229C
square
#9C2252 #8F9C22 #229C6C #2F229C
split-complementary
#9C2252 #229C2F #228F9C
monochromatic
#380C1D #6A1738 #9C2252 #CE2D6C #DC5D8F

Accessibility & contrast

On white

7.60
#9C2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9C2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2252
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2252#FFFFFF#000000##FFFFFF
##9C22521.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AA0437
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2252;
/* rgb */ color: rgb(156, 34, 82);
/* oklch */ color: oklch(46.6% 0.161 2.4);
Tailwind
colors: {
  custom: {
    50: '#bf6a82',
    500: '#9c2252',
    950: '#000000',
  },
}
SCSS
$custom: #9c2252;
$custom-light: #bf6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2252",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 336.393,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.16075,
    "h": 2.4
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#9C2252
secondary
#5AC098
accent
#E7A641
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2252

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

Preview Lab → · Contrast checker → · Palette generator →

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