#9C1E52#9C1E52

#9C1E52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 1.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9C1E52
RGBrgb(156, 30, 82)
HSLhsl(335, 68%, 36%)
HSVhsv(335, 81%, 61%)
CMYKcmyk(0%, 80.8%, 47.4%, 38.8%)
CIE-LABlab(35.22, 53.57, 1.78)
CIE-LCHlch(35.22, 53.60, 1.91°)
OKLaboklab(46.31% 0.1645 0.0052)
OKLCHoklch(46.31% 0.165 1.8)
XYZxyz(15.6989, 8.6078, 8.8158)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1E52 #1E9C68
analogous
#9C1E91 #9C1E52 #9C291E
triadic
#9C1E52 #529C1E #1E529C
tetradic
#9C1E52 #919C1E #1E9C68 #291E9C
square
#9C1E52 #919C1E #1E9C68 #291E9C
split-complementary
#9C1E52 #1E9C29 #1E919C
monochromatic
#350A1C #691437 #9C1E52 #CF286D #DE568E

Accessibility & contrast

On white

7.72
#9C1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9C1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1E52
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1E52#FFFFFF#000000##FFFFFF
##9C1E521.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AA0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1e52;
/* rgb */ color: rgb(156, 30, 82);
/* oklch */ color: oklch(46.3% 0.165 1.8);
Tailwind
colors: {
  custom: {
    50: '#bf6882',
    500: '#9c1e52',
    950: '#000000',
  },
}
SCSS
$custom: #9c1e52;
$custom-light: #bf6882;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1e52",
  "rgb": {
    "r": 156,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 335.238,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.16455,
    "h": 1.8
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#9C1E52
secondary
#54C295
accent
#EBA33D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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