#9C247C#9C247C

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

Color values

HEX#9C247C
RGBrgb(156, 36, 124)
HSLhsl(316, 63%, 38%)
HSVhsv(316, 77%, 61%)
CMYKcmyk(0%, 76.9%, 20.5%, 38.8%)
CIE-LABlab(37.46, 56.61, -21.54)
CIE-LCHlch(37.46, 60.57, 339.17°)
OKLaboklab(48.46% 0.1696 -0.058)
OKLCHoklch(48.46% 0.179 341.1)
XYZxyz(17.9798, 9.7867, 20.0070)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C247C #249C44
analogous
#80249C #9C247C #9C2440
triadic
#9C247C #7C9C24 #247C9C
tetradic
#9C247C #9C8024 #249C44 #24409C
square
#9C247C #9C8024 #249C44 #24409C
split-complementary
#9C247C #409C24 #249C80
monochromatic
#390D2D #6A1954 #9C247C #CE2FA4 #DA60BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C247C#FFFFFF#000000##FFFFFF
##9C247C1.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)
#2F4C7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A6274D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c247c;
/* rgb */ color: rgb(156, 36, 124);
/* oklch */ color: oklch(48.5% 0.179 341.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ca2',
    500: '#9c247c',
    950: '#000000',
  },
}
SCSS
$custom: #9c247c;
$custom-light: #bd6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c247c",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 316,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.17924,
    "h": 341.1
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#9C247C
secondary
#5CBF77
accent
#E66E42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C247C

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

Preview Lab → · Contrast checker → · Palette generator →

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