#9C1F7E#9C1F7E

#9C1F7E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 340.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9C1F7E
RGBrgb(156, 31, 126)
HSLhsl(314, 67%, 37%)
HSVhsv(314, 80%, 61%)
CMYKcmyk(0%, 80.1%, 19.2%, 38.8%)
CIE-LABlab(37.03, 58.36, -23.44)
CIE-LCHlch(37.03, 62.89, 338.12°)
OKLaboklab(48.19% 0.1744 -0.0634)
OKLCHoklch(48.19% 0.186 340)
XYZxyz(17.9667, 9.5561, 20.6329)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F7E #1F9C3D
analogous
#7C1F9C #9C1F7E #9C1F40
triadic
#9C1F7E #7E9C1F #1F7E9C
tetradic
#9C1F7E #9C7C1F #1F9C3D #1F409C
square
#9C1F7E #9C7C1F #1F9C3D #1F409C
split-complementary
#9C1F7E #409C1F #1F9C7C
monochromatic
#360B2C #691555 #9C1F7E #CF29A7 #DE58BE

Accessibility & contrast

On white

7.21
#9C1F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C1F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F7E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F7E#FFFFFF#000000##FFFFFF
##9C1F7E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A6244D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1f7e;
/* rgb */ color: rgb(156, 31, 126);
/* oklch */ color: oklch(48.2% 0.186 340.0);
Tailwind
colors: {
  custom: {
    50: '#bd6aa3',
    500: '#9c1f7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f7e;
$custom-light: #bd6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f7e",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 314.4,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.18553,
    "h": 340
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#9C1F7E
secondary
#55C16F
accent
#EA673E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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