#9C2154#9C2154

#9C2154 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.162 H 1.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2154
RGBrgb(156, 33, 84)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 61%)
CMYKcmyk(0%, 78.8%, 46.2%, 38.8%)
CIE-LABlab(35.59, 52.86, 1.03)
CIE-LCHlch(35.59, 52.87, 1.12°)
OKLaboklab(46.6% 0.1623 0.0033)
OKLCHoklch(46.6% 0.162 1.1)
XYZxyz(15.8557, 8.7979, 9.2490)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2154 #219C69
analogous
#9C2192 #9C2154 #9C2C21
triadic
#9C2154 #549C21 #21549C
tetradic
#9C2154 #929C21 #219C69 #2C219C
square
#9C2154 #929C21 #219C69 #2C219C
split-complementary
#9C2154 #219C2C #21929C
monochromatic
#370C1E #691639 #9C2154 #CF2C6F #DC5B91

Accessibility & contrast

On white

7.61
#9C2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9C2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2154
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2154#FFFFFF#000000##FFFFFF
##9C21541.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4555
Deuteranopia (green-blind)
#5F5C51
Tritanopia (blue-blind)
#AA0438
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2154;
/* rgb */ color: rgb(156, 33, 84);
/* oklch */ color: oklch(46.6% 0.162 1.1);
Tailwind
colors: {
  custom: {
    50: '#bf6983',
    500: '#9c2154',
    950: '#000000',
  },
}
SCSS
$custom: #9c2154;
$custom-light: #bf6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2154",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 335.122,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.16235,
    "h": 1.1
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#9C2154
secondary
#58C195
accent
#E8A240
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2154

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

Preview Lab → · Contrast checker → · Palette generator →

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