#9C2E52#9C2E52

#9C2E52 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.147 H 4.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9C2E52
RGBrgb(156, 46, 82)
HSLhsl(340, 54%, 40%)
HSVhsv(340, 71%, 61%)
CMYKcmyk(0%, 70.5%, 47.4%, 38.8%)
CIE-LABlab(37.18, 48.08, 4.60)
CIE-LCHlch(37.18, 48.30, 5.47°)
OKLaboklab(47.75% 0.1469 0.0123)
OKLCHoklch(47.75% 0.147 4.8)
XYZxyz(16.2116, 9.6332, 8.9867)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E52 #2E9C78
analogous
#9C2E89 #9C2E52 #9C412E
triadic
#9C2E52 #529C2E #2E529C
tetradic
#9C2E52 #899C2E #2E9C78 #412E9C
square
#9C2E52 #899C2E #2E9C78 #412E9C
split-complementary
#9C2E52 #2E9C41 #2E899C
monochromatic
#3D1220 #6D2039 #9C2E52 #C7406C #D57091

Accessibility & contrast

On white

7.18
#9C2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9C2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2E52
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E52#FFFFFF#000000##FFFFFF
##9C2E521.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#AA1C3D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2e52;
/* rgb */ color: rgb(156, 46, 82);
/* oklch */ color: oklch(47.8% 0.147 4.8);
Tailwind
colors: {
  custom: {
    50: '#be6f82',
    500: '#9c2e52',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e52;
$custom-light: #be6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e52",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 340.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.14739,
    "h": 4.8
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#9C2E52
secondary
#6ABCA1
accent
#DEAD4A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9C2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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