#9C247B#9C247B

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

Color values

HEX#9C247B
RGBrgb(156, 36, 123)
HSLhsl(317, 63%, 38%)
HSVhsv(317, 77%, 61%)
CMYKcmyk(0%, 76.9%, 21.2%, 38.8%)
CIE-LABlab(37.41, 56.47, -20.98)
CIE-LCHlch(37.41, 60.24, 339.62°)
OKLaboklab(48.41% 0.1695 -0.0564)
OKLCHoklch(48.41% 0.179 341.6)
XYZxyz(17.9169, 9.7616, 19.6756)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C247B #249C45
analogous
#81249C #9C247B #9C243F
triadic
#9C247B #7B9C24 #247B9C
tetradic
#9C247B #9C8124 #249C45 #243F9C
square
#9C247B #9C8124 #249C45 #243F9C
split-complementary
#9C247B #3F9C24 #249C81
monochromatic
#390D2D #6A1954 #9C247B #CE2FA2 #DA60B9

Accessibility & contrast

On white

7.11
#9C247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C247B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C247B#FFFFFF#000000##FFFFFF
##9C247B1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A6264D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c247b;
/* rgb */ color: rgb(156, 36, 123);
/* oklch */ color: oklch(48.4% 0.179 341.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ca1',
    500: '#9c247b',
    950: '#000000',
  },
}
SCSS
$custom: #9c247b;
$custom-light: #bd6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c247b",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 316.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.1786,
    "h": 341.6
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#9C247B
secondary
#5CBF78
accent
#E66F42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9C247B

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

Preview Lab → · Contrast checker → · Palette generator →

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