#9C3151#9C3151

#9C3151 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.0% C 0.143 H 6.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9C3151
RGBrgb(156, 49, 81)
HSLhsl(342, 52%, 40%)
HSVhsv(342, 69%, 61%)
CMYKcmyk(0%, 68.6%, 48.1%, 38.8%)
CIE-LABlab(37.59, 46.77, 5.84)
CIE-LCHlch(37.59, 47.13, 7.11°)
OKLaboklab(48.05% 0.1426 0.0154)
OKLCHoklch(48.05% 0.143 6.2)
XYZxyz(16.2951, 9.8607, 8.8282)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3151 #319C7C
analogous
#9C3186 #9C3151 #9C4631
triadic
#9C3151 #519C31 #31519C
tetradic
#9C3151 #869C31 #319C7C #46319C
square
#9C3151 #869C31 #319C7C #46319C
split-complementary
#9C3151 #319C46 #31869C
monochromatic
#3F1421 #6D2239 #9C3151 #C5456C #D37491

Accessibility & contrast

On white

7.07
#9C3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C3151
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3151#FFFFFF#000000##FFFFFF
##9C31511.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B52
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#AA203E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c3151;
/* rgb */ color: rgb(156, 49, 81);
/* oklch */ color: oklch(48.0% 0.143 6.2);
Tailwind
colors: {
  custom: {
    50: '#be7081',
    500: '#9c3151',
    950: '#000000',
  },
}
SCSS
$custom: #9c3151;
$custom-light: #be7081;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3151",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 342.056,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.14344,
    "h": 6.2
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9C3151
secondary
#6DBBA4
accent
#DCB14C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9C3151

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

Preview Lab → · Contrast checker → · Palette generator →

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