#9C2A6B#9C2A6B

#9C2A6B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.162 H 349.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9C2A6B
RGBrgb(156, 42, 107)
HSLhsl(326, 58%, 39%)
HSVhsv(326, 73%, 61%)
CMYKcmyk(0%, 73.1%, 31.4%, 38.8%)
CIE-LABlab(37.46, 52.35, -10.87)
CIE-LCHlch(37.46, 53.47, 348.27°)
OKLaboklab(48.23% 0.1598 -0.0284)
OKLCHoklch(48.23% 0.162 349.9)
XYZxyz(17.1930, 9.7873, 14.8908)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A6B #2A9C5B
analogous
#942A9C #9C2A6B #9C2A32
triadic
#9C2A6B #6B9C2A #2A6B9C
tetradic
#9C2A6B #9C942A #2A9C5B #2A329C
square
#9C2A6B #9C942A #2A9C5B #2A329C
split-complementary
#9C2A6B #329C2A #2A9C94
monochromatic
#3C1029 #6C1D4A #9C2A6B #CA398C #D76AA8

Accessibility & contrast

On white

7.10
#9C2A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C2A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2A6B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A6B#FFFFFF#000000##FFFFFF
##9C2A6B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#5D5F68
Tritanopia (blue-blind)
#A82347
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2a6b;
/* rgb */ color: rgb(156, 42, 107);
/* oklch */ color: oklch(48.2% 0.162 349.9);
Tailwind
colors: {
  custom: {
    50: '#bd6e95',
    500: '#9c2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a6b;
$custom-light: #bd6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a6b",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 325.789,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.1623,
    "h": 349.9
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#9C2A6B
secondary
#65BD8B
accent
#E18947
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9C2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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