#9C2162#9C2162

#9C2162 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.168 H 353.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9C2162
RGBrgb(156, 33, 98)
HSLhsl(328, 65%, 37%)
HSVhsv(328, 79%, 61%)
CMYKcmyk(0%, 78.8%, 37.2%, 38.8%)
CIE-LABlab(36.06, 54.30, -7.26)
CIE-LCHlch(36.06, 54.78, 352.38°)
OKLaboklab(47.1% 0.1668 -0.0185)
OKLCHoklch(47.1% 0.168 353.7)
XYZxyz(16.4598, 9.0395, 12.4309)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2162 #219C5B
analogous
#99219C #9C2162 #9C2124
triadic
#9C2162 #629C21 #21629C
tetradic
#9C2162 #9C9921 #219C5B #21249C
square
#9C2162 #9C9921 #219C5B #21249C
split-complementary
#9C2162 #249C21 #219C99
monochromatic
#370C23 #691642 #9C2162 #CF2C82 #DC5B9F

Accessibility & contrast

On white

7.48
#9C2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9C2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2162
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2162#FFFFFF#000000##FFFFFF
##9C21621.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5C5D5F
Tritanopia (blue-blind)
#A9123F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9c2162;
/* rgb */ color: rgb(156, 33, 98);
/* oklch */ color: oklch(47.1% 0.168 353.7);
Tailwind
colors: {
  custom: {
    50: '#be6a8e',
    500: '#9c2162',
    950: '#000000',
  },
}
SCSS
$custom: #9c2162;
$custom-light: #be6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2162",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 328.293,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.16782,
    "h": 353.7
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#9C2162
secondary
#58C189
accent
#E88F40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9C2162

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

Preview Lab → · Contrast checker → · Palette generator →

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