#9C1F6F#9C1F6F

#9C1F6F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.176 H 346.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9C1F6F
RGBrgb(156, 31, 111)
HSLhsl(322, 67%, 37%)
HSVhsv(322, 80%, 61%)
CMYKcmyk(0%, 80.1%, 28.8%, 38.8%)
CIE-LABlab(36.36, 56.40, -15.07)
CIE-LCHlch(36.36, 58.38, 345.04°)
OKLaboklab(47.48% 0.1719 -0.0398)
OKLCHoklch(47.48% 0.176 346.9)
XYZxyz(17.0704, 9.1976, 15.9122)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F6F #1F9C4C
analogous
#8B1F9C #9C1F6F #9C1F31
triadic
#9C1F6F #6F9C1F #1F6F9C
tetradic
#9C1F6F #9C8B1F #1F9C4C #1F319C
square
#9C1F6F #9C8B1F #1F9C4C #1F319C
split-complementary
#9C1F6F #319C1F #1F9C8B
monochromatic
#360B26 #69154B #9C1F6F #CF2993 #DE58AD

Accessibility & contrast

On white

7.40
#9C1F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9C1F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F6F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F6F#FFFFFF#000000##FFFFFF
##9C1F6F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A71A45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f6f;
/* rgb */ color: rgb(156, 31, 111);
/* oklch */ color: oklch(47.5% 0.176 346.9);
Tailwind
colors: {
  custom: {
    50: '#be6a98',
    500: '#9c1f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f6f;
$custom-light: #be6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f6f",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 321.6,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.17643,
    "h": 346.9
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#9C1F6F
secondary
#55C17C
accent
#EA7C3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C1F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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