#9D1C7C#9D1C7C

#9D1C7C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 341.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9D1C7C
RGBrgb(157, 28, 124)
HSLhsl(315, 70%, 36%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 82.2%, 21%, 38.4%)
CIE-LABlab(36.85, 59.12, -22.47)
CIE-LCHlch(36.85, 63.25, 339.19°)
OKLaboklab(48.06% 0.1775 -0.0606)
OKLCHoklch(48.06% 0.188 341.2)
XYZxyz(17.9586, 9.4557, 19.9443)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C7C #1C9D3D
analogous
#7E1C9D #9D1C7C #9D1C3C
triadic
#9D1C7C #7C9D1C #1C7C9D
tetradic
#9D1C7C #9D7E1C #1C9D3D #1C3C9D
square
#9D1C7C #9D7E1C #1C9D3D #1C3C9D
split-complementary
#9D1C7C #3C9D1C #1C9D7E
monochromatic
#35092A #691353 #9D1C7C #D125A5 #E053BC

Accessibility & contrast

On white

7.26
#9D1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C7C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C7C#FFFFFF#000000##FFFFFF
##9D1C7C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A7204B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1c7c;
/* rgb */ color: rgb(157, 28, 124);
/* oklch */ color: oklch(48.1% 0.188 341.2);
Tailwind
colors: {
  custom: {
    50: '#be69a2',
    500: '#9d1c7c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c7c;
$custom-light: #be69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c7c",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 315.349,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.18754,
    "h": 341.2
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#9D1C7C
secondary
#51C36F
accent
#ED693B
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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