#9C1F74#9C1F74

#9C1F74 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.179 H 344.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9C1F74
RGBrgb(156, 31, 116)
HSLhsl(319, 67%, 37%)
HSVhsv(319, 80%, 61%)
CMYKcmyk(0%, 80.1%, 25.6%, 38.8%)
CIE-LABlab(36.58, 57.03, -17.89)
CIE-LCHlch(36.58, 59.77, 342.58°)
OKLaboklab(47.71% 0.1729 -0.0477)
OKLCHoklch(47.71% 0.179 344.6)
XYZxyz(17.3534, 9.3108, 17.4029)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F74 #1F9C47
analogous
#861F9C #9C1F74 #9C1F36
triadic
#9C1F74 #749C1F #1F749C
tetradic
#9C1F74 #9C861F #1F9C47 #1F369C
square
#9C1F74 #9C861F #1F9C47 #1F369C
split-complementary
#9C1F74 #369C1F #1F9C86
monochromatic
#360B28 #69154E #9C1F74 #CF299A #DE58B3

Accessibility & contrast

On white

7.34
#9C1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9C1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F74
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F74#FFFFFF#000000##FFFFFF
##9C1F741.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A71D48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f74;
/* rgb */ color: rgb(156, 31, 116);
/* oklch */ color: oklch(47.7% 0.179 344.6);
Tailwind
colors: {
  custom: {
    50: '#bd6a9c',
    500: '#9c1f74',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f74;
$custom-light: #bd6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f74",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 319.2,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.17931,
    "h": 344.6
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#9C1F74
secondary
#55C178
accent
#EA753E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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