#9C1E7D#9C1E7D

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

Color values

HEX#9C1E7D
RGBrgb(156, 30, 125)
HSLhsl(315, 68%, 36%)
HSVhsv(315, 81%, 61%)
CMYKcmyk(0%, 80.8%, 19.9%, 38.8%)
CIE-LABlab(36.89, 58.50, -23.04)
CIE-LCHlch(36.89, 62.87, 338.50°)
OKLaboklab(48.07% 0.1751 -0.0622)
OKLCHoklch(48.07% 0.186 340.4)
XYZxyz(17.8768, 9.4790, 20.2862)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1E7D #1E9C3D
analogous
#7C1E9C #9C1E7D #9C1E3E
triadic
#9C1E7D #7D9C1E #1E7D9C
tetradic
#9C1E7D #9C7C1E #1E9C3D #1E3E9C
square
#9C1E7D #9C7C1E #1E9C3D #1E3E9C
split-complementary
#9C1E7D #3E9C1E #1E9C7C
monochromatic
#350A2B #691454 #9C1E7D #CF28A6 #DE56BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C1E7D#FFFFFF#000000##FFFFFF
##9C1E7D1.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)
#294A7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A6224C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1e7d;
/* rgb */ color: rgb(156, 30, 125);
/* oklch */ color: oklch(48.1% 0.186 340.4);
Tailwind
colors: {
  custom: {
    50: '#bd6aa3',
    500: '#9c1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9c1e7d;
$custom-light: #bd6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1e7d",
  "rgb": {
    "r": 156,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 314.762,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.18582,
    "h": 340.4
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#9C1E7D
secondary
#54C26F
accent
#EB683D
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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