#9C2147#9C2147

#9C2147 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.159 H 8.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9C2147
RGBrgb(156, 33, 71)
HSLhsl(341, 65%, 37%)
HSVhsv(341, 79%, 61%)
CMYKcmyk(0%, 78.8%, 54.5%, 38.8%)
CIE-LABlab(35.23, 51.73, 8.93)
CIE-LCHlch(35.23, 52.50, 9.79°)
OKLaboklab(46.22% 0.1575 0.0228)
OKLCHoklch(46.22% 0.159 8.2)
XYZxyz(15.3929, 8.6128, 6.8119)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2147 #219C76
analogous
#9C2185 #9C2147 #9C3821
triadic
#9C2147 #479C21 #21479C
tetradic
#9C2147 #859C21 #219C76 #38219C
square
#9C2147 #859C21 #219C76 #38219C
split-complementary
#9C2147 #219C38 #21859C
monochromatic
#370C19 #691630 #9C2147 #CF2C5E #DC5B83

Accessibility & contrast

On white

7.71
#9C2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9C2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2147
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2147#FFFFFF#000000##FFFFFF
##9C21471.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424348
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AB0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c2147;
/* rgb */ color: rgb(156, 33, 71);
/* oklch */ color: oklch(46.2% 0.159 8.2);
Tailwind
colors: {
  custom: {
    50: '#bf6979',
    500: '#9c2147',
    950: '#000000',
  },
}
SCSS
$custom: #9c2147;
$custom-light: #bf6979;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2147",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 341.463,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.15912,
    "h": 8.2
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#9C2147
secondary
#58C1A0
accent
#E8B440
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9C2147

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

Preview Lab → · Contrast checker → · Palette generator →

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