#9C247A#9C247A

#9C247A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.178 H 342.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9C247A
RGBrgb(156, 36, 122)
HSLhsl(317, 63%, 38%)
HSVhsv(317, 77%, 61%)
CMYKcmyk(0%, 76.9%, 21.8%, 38.8%)
CIE-LABlab(37.37, 56.33, -20.43)
CIE-LCHlch(37.37, 59.92, 340.07°)
OKLaboklab(48.37% 0.1693 -0.0549)
OKLCHoklch(48.37% 0.178 342)
XYZxyz(17.8546, 9.7367, 19.3476)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C247A #249C46
analogous
#82249C #9C247A #9C243E
triadic
#9C247A #7A9C24 #247A9C
tetradic
#9C247A #9C8224 #249C46 #243E9C
square
#9C247A #9C8224 #249C46 #243E9C
split-complementary
#9C247A #3E9C24 #249C82
monochromatic
#390D2C #6A1953 #9C247A #CE2FA1 #DA60B8

Accessibility & contrast

On white

7.13
#9C247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9C247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C247A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C247A#FFFFFF#000000##FFFFFF
##9C247A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A6264C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c247a;
/* rgb */ color: rgb(156, 36, 122);
/* oklch */ color: oklch(48.4% 0.178 342.0);
Tailwind
colors: {
  custom: {
    50: '#bd6ca0',
    500: '#9c247a',
    950: '#000000',
  },
}
SCSS
$custom: #9c247a;
$custom-light: #bd6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c247a",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 317,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.17796,
    "h": 342
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#9C247A
secondary
#5CBF78
accent
#E67142
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C247A

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

Preview Lab → · Contrast checker → · Palette generator →

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