#9C2157#9C2157

#9C2157 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.163 H 359.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9C2157
RGBrgb(156, 33, 87)
HSLhsl(334, 65%, 37%)
HSVhsv(334, 79%, 61%)
CMYKcmyk(0%, 78.8%, 44.2%, 38.8%)
CIE-LABlab(35.69, 53.15, -0.76)
CIE-LCHlch(35.69, 53.16, 359.18°)
OKLaboklab(46.7% 0.1634 -0.0014)
OKLCHoklch(46.7% 0.163 359.5)
XYZxyz(15.9757, 8.8459, 9.8811)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2157 #219C66
analogous
#9C2194 #9C2157 #9C2921
triadic
#9C2157 #579C21 #21579C
tetradic
#9C2157 #949C21 #219C66 #29219C
square
#9C2157 #949C21 #219C66 #29219C
split-complementary
#9C2157 #219C29 #21949C
monochromatic
#370C1F #69163B #9C2157 #CF2C73 #DC5B94

Accessibility & contrast

On white

7.58
#9C2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9C2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2157
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2157#FFFFFF#000000##FFFFFF
##9C21571.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5F5C54
Tritanopia (blue-blind)
#A90739
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2157;
/* rgb */ color: rgb(156, 33, 87);
/* oklch */ color: oklch(46.7% 0.163 359.5);
Tailwind
colors: {
  custom: {
    50: '#be6986',
    500: '#9c2157',
    950: '#000000',
  },
}
SCSS
$custom: #9c2157;
$custom-light: #be6986;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2157",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 333.659,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.16336,
    "h": 359.5
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#9C2157
secondary
#58C193
accent
#E89E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C2157

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

Preview Lab → · Contrast checker → · Palette generator →

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