#9C247E#9C247E

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

Color values

HEX#9C247E
RGBrgb(156, 36, 126)
HSLhsl(315, 63%, 38%)
HSVhsv(315, 77%, 61%)
CMYKcmyk(0%, 76.9%, 19.2%, 38.8%)
CIE-LABlab(37.55, 56.88, -22.64)
CIE-LCHlch(37.55, 61.22, 338.30°)
OKLaboklab(48.56% 0.1699 -0.0611)
OKLCHoklch(48.56% 0.181 340.2)
XYZxyz(18.1076, 9.8378, 20.6799)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C247E #249C42
analogous
#7E249C #9C247E #9C2442
triadic
#9C247E #7E9C24 #247E9C
tetradic
#9C247E #9C7E24 #249C42 #24429C
square
#9C247E #9C7E24 #249C42 #24429C
split-complementary
#9C247E #429C24 #249C7E
monochromatic
#390D2E #6A1956 #9C247E #CE2FA6 #DA60BC

Accessibility & contrast

On white

7.08
#9C247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C247E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C247E#FFFFFF#000000##FFFFFF
##9C247E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A5284E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c247e;
/* rgb */ color: rgb(156, 36, 126);
/* oklch */ color: oklch(48.6% 0.181 340.2);
Tailwind
colors: {
  custom: {
    50: '#bd6ca3',
    500: '#9c247e',
    950: '#000000',
  },
}
SCSS
$custom: #9c247e;
$custom-light: #bd6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c247e",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 315,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.18055,
    "h": 340.2
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#9C247E
secondary
#5CBF75
accent
#E66B42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C247E

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

Preview Lab → · Contrast checker → · Palette generator →

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