#9B247C#9B247C

#9B247C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.179 H 340.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9B247C
RGBrgb(155, 36, 124)
HSLhsl(316, 62%, 37%)
HSVhsv(316, 77%, 61%)
CMYKcmyk(0%, 76.8%, 20%, 39.2%)
CIE-LABlab(37.28, 56.36, -21.83)
CIE-LCHlch(37.28, 60.44, 338.83°)
OKLaboklab(48.3% 0.1686 -0.0588)
OKLCHoklch(48.3% 0.179 340.8)
XYZxyz(17.7871, 9.6874, 19.9980)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B247C #249B43
analogous
#7E249B #9B247C #9B2441
triadic
#9B247C #7C9B24 #247C9B
tetradic
#9B247C #9B7E24 #249B43 #24419B
square
#9B247C #9B7E24 #249B43 #24419B
split-complementary
#9B247C #419B24 #249B7E
monochromatic
#380D2D #691854 #9B247C #CD30A4 #DA5FBA

Accessibility & contrast

On white

7.15
#9B247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B247C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B247C#FFFFFF#000000##FFFFFF
##9B247C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7E
Deuteranopia (green-blind)
#545F79
Tritanopia (blue-blind)
#A5274D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b247c;
/* rgb */ color: rgb(155, 36, 124);
/* oklch */ color: oklch(48.3% 0.179 340.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ca2',
    500: '#9b247c',
    950: '#000000',
  },
}
SCSS
$custom: #9b247c;
$custom-light: #bc6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b247c",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 315.63,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.17861,
    "h": 340.8
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#9B247C
secondary
#5CBF76
accent
#E56D42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B247C

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

Preview Lab → · Contrast checker → · Palette generator →

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