#9C1D7F#9C1D7F

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

Color values

HEX#9C1D7F
RGBrgb(156, 29, 127)
HSLhsl(314, 69%, 36%)
HSVhsv(314, 81%, 61%)
CMYKcmyk(0%, 81.4%, 18.6%, 38.8%)
CIE-LABlab(36.89, 59.04, -24.28)
CIE-LCHlch(36.89, 63.84, 337.65°)
OKLaboklab(48.1% 0.1761 -0.0657)
OKLCHoklch(48.1% 0.188 339.5)
XYZxyz(17.9810, 9.4808, 20.9576)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D7F #1D9C3A
analogous
#7A1D9C #9C1D7F #9C1D40
triadic
#9C1D7F #7F9C1D #1D7F9C
tetradic
#9C1D7F #9C7A1D #1D9C3A #1D409C
square
#9C1D7F #9C7A1D #1D9C3A #1D409C
split-complementary
#9C1D7F #409C1D #1D9C7A
monochromatic
#350A2B #681355 #9C1D7F #D027A9 #DF54BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C1D7F#FFFFFF#000000##FFFFFF
##9C1D7F1.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)
#274A82
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A5234D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1d7f;
/* rgb */ color: rgb(156, 29, 127);
/* oklch */ color: oklch(48.1% 0.188 339.5);
Tailwind
colors: {
  custom: {
    50: '#bd69a4',
    500: '#9c1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d7f;
$custom-light: #bd69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d7f",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 313.701,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.18801,
    "h": 339.5
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#9C1D7F
secondary
#52C26C
accent
#EB643C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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