#9D1C7D#9D1C7D

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

Color values

HEX#9D1C7D
RGBrgb(157, 28, 125)
HSLhsl(315, 70%, 36%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 82.2%, 20.4%, 38.4%)
CIE-LABlab(36.89, 59.25, -23.02)
CIE-LCHlch(36.89, 63.57, 338.77°)
OKLaboklab(48.11% 0.1776 -0.0621)
OKLCHoklch(48.11% 0.188 340.7)
XYZxyz(18.0221, 9.4812, 20.2790)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C7D #1C9D3C
analogous
#7D1C9D #9D1C7D #9D1C3D
triadic
#9D1C7D #7D9D1C #1C7D9D
tetradic
#9D1C7D #9D7D1C #1C9D3C #1C3D9D
square
#9D1C7D #9D7D1C #1C9D3C #1C3D9D
split-complementary
#9D1C7D #3D9D1C #1C9D7D
monochromatic
#35092A #691354 #9D1C7D #D125A6 #E053BD

Accessibility & contrast

On white

7.25
#9D1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C7D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C7D#FFFFFF#000000##FFFFFF
##9D1C7D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A7204C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1c7d;
/* rgb */ color: rgb(157, 28, 125);
/* oklch */ color: oklch(48.1% 0.188 340.7);
Tailwind
colors: {
  custom: {
    50: '#be69a3',
    500: '#9d1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c7d;
$custom-light: #be69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c7d",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 314.884,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.18817,
    "h": 340.7
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#9D1C7D
secondary
#51C36E
accent
#ED673B
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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