#9C3161#9C3161

#9C3161 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.149 H 356.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C3161
RGBrgb(156, 49, 97)
HSLhsl(333, 52%, 40%)
HSVhsv(333, 69%, 61%)
CMYKcmyk(0%, 68.6%, 37.8%, 38.8%)
CIE-LABlab(38.07, 48.45, -3.63)
CIE-LCHlch(38.07, 48.59, 355.72°)
OKLaboklab(48.56% 0.1483 -0.0089)
OKLCHoklch(48.56% 0.149 356.6)
XYZxyz(16.9673, 10.1296, 12.3686)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3161 #319C6C
analogous
#9C3196 #9C3161 #9C3631
triadic
#9C3161 #619C31 #31619C
tetradic
#9C3161 #969C31 #319C6C #36319C
square
#9C3161 #969C31 #319C6C #36319C
split-complementary
#9C3161 #319C36 #31969C
monochromatic
#3F1427 #6D2244 #9C3161 #C5457F #D3749F

Accessibility & contrast

On white

6.94
#9C3161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C3161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3161
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3161#FFFFFF#000000##FFFFFF
##9C31611.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D62
Deuteranopia (green-blind)
#62615F
Tritanopia (blue-blind)
#A82745
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c3161;
/* rgb */ color: rgb(156, 49, 97);
/* oklch */ color: oklch(48.6% 0.149 356.6);
Tailwind
colors: {
  custom: {
    50: '#bd718d',
    500: '#9c3161',
    950: '#000000',
  },
}
SCSS
$custom: #9c3161;
$custom-light: #bd718d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3161",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 333.084,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.1486,
    "h": 356.6
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#9C3161
secondary
#6DBB98
accent
#DC9B4C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9C3161

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

Preview Lab → · Contrast checker → · Palette generator →

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