#9C247F#9C247F

#9C247F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.181 H 339.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C247F
RGBrgb(156, 36, 127)
HSLhsl(315, 63%, 38%)
HSVhsv(315, 77%, 61%)
CMYKcmyk(0%, 76.9%, 18.6%, 38.8%)
CIE-LABlab(37.60, 57.02, -23.18)
CIE-LCHlch(37.60, 61.56, 337.88°)
OKLaboklab(48.61% 0.17 -0.0627)
OKLCHoklch(48.61% 0.181 339.8)
XYZxyz(18.1724, 9.8638, 21.0214)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C247F #249C41
analogous
#7D249C #9C247F #9C2443
triadic
#9C247F #7F9C24 #247F9C
tetradic
#9C247F #9C7D24 #249C41 #24439C
square
#9C247F #9C7D24 #249C41 #24439C
split-complementary
#9C247F #439C24 #249C7D
monochromatic
#390D2E #6A1957 #9C247F #CE2FA7 #DA60BD

Accessibility & contrast

On white

7.06
#9C247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C247F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C247F#FFFFFF#000000##FFFFFF
##9C247F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A5284F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c247f;
/* rgb */ color: rgb(156, 36, 127);
/* oklch */ color: oklch(48.6% 0.181 339.8);
Tailwind
colors: {
  custom: {
    50: '#bd6ca4',
    500: '#9c247f',
    950: '#000000',
  },
}
SCSS
$custom: #9c247f;
$custom-light: #bd6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c247f",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 314.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.18121,
    "h": 339.8
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#9C247F
secondary
#5CBF74
accent
#E66A42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C247F

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

Preview Lab → · Contrast checker → · Palette generator →

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