#9C1F76#9C1F76

#9C1F76 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 343.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9C1F76
RGBrgb(156, 31, 118)
HSLhsl(318, 67%, 37%)
HSVhsv(318, 80%, 61%)
CMYKcmyk(0%, 80.1%, 24.4%, 38.8%)
CIE-LABlab(36.66, 57.29, -19.01)
CIE-LCHlch(36.66, 60.36, 341.64°)
OKLaboklab(47.8% 0.1732 -0.0508)
OKLCHoklch(47.8% 0.181 343.6)
XYZxyz(17.4710, 9.3578, 18.0222)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F76 #1F9C45
analogous
#841F9C #9C1F76 #9C1F38
triadic
#9C1F76 #769C1F #1F769C
tetradic
#9C1F76 #9C841F #1F9C45 #1F389C
square
#9C1F76 #9C841F #1F9C45 #1F389C
split-complementary
#9C1F76 #389C1F #1F9C84
monochromatic
#360B29 #69154F #9C1F76 #CF299D #DE58B5

Accessibility & contrast

On white

7.31
#9C1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F76
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F76#FFFFFF#000000##FFFFFF
##9C1F761.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A71F49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f76;
/* rgb */ color: rgb(156, 31, 118);
/* oklch */ color: oklch(47.8% 0.181 343.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a9d',
    500: '#9c1f76',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f76;
$custom-light: #bd6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f76",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 318.24,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.478,
    "c": 0.18052,
    "h": 343.6
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#9C1F76
secondary
#55C176
accent
#EA723E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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