#9D1C52#9D1C52

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

Color values

HEX#9D1C52
RGBrgb(157, 28, 82)
HSLhsl(335, 70%, 36%)
HSVhsv(335, 82%, 62%)
CMYKcmyk(0%, 82.2%, 47.8%, 38.4%)
CIE-LABlab(35.22, 54.39, 1.82)
CIE-LCHlch(35.22, 54.42, 1.91°)
OKLaboklab(46.35% 0.1671 0.0052)
OKLCHoklch(46.35% 0.167 1.8)
XYZxyz(15.8442, 8.6100, 8.8086)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C52 #1C9D67
analogous
#9D1C93 #9D1C52 #9D271C
triadic
#9D1C52 #529D1C #1C529D
tetradic
#9D1C52 #939D1C #1C9D67 #271C9D
square
#9D1C52 #939D1C #1C9D67 #271C9D
split-complementary
#9D1C52 #1C9D27 #1C939D
monochromatic
#35091C #691337 #9D1C52 #D1256D #E0538E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1C52#FFFFFF#000000##FFFFFF
##9D1C521.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)
#AB0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1c52;
/* rgb */ color: rgb(157, 28, 82);
/* oklch */ color: oklch(46.3% 0.167 1.8);
Tailwind
colors: {
  custom: {
    50: '#c06882',
    500: '#9d1c52',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c52;
$custom-light: #c06882;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c52",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 334.884,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.16714,
    "h": 1.8
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#9D1C52
secondary
#51C394
accent
#EDA23B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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