#9B247D#9B247D

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

Color values

HEX#9B247D
RGBrgb(155, 36, 125)
HSLhsl(315, 62%, 37%)
HSVhsv(315, 77%, 61%)
CMYKcmyk(0%, 76.8%, 19.4%, 39.2%)
CIE-LABlab(37.32, 56.50, -22.38)
CIE-LCHlch(37.32, 60.77, 338.39°)
OKLaboklab(48.35% 0.1688 -0.0604)
OKLCHoklch(48.35% 0.179 340.3)
XYZxyz(17.8506, 9.7128, 20.3327)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B247D #249B42
analogous
#7E249B #9B247D #9B2441
triadic
#9B247D #7D9B24 #247D9B
tetradic
#9B247D #9B7E24 #249B42 #24419B
square
#9B247D #9B7E24 #249B42 #24419B
split-complementary
#9B247D #419B24 #249B7E
monochromatic
#380D2D #691855 #9B247D #CD30A5 #DA5FBB

Accessibility & contrast

On white

7.14
#9B247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B247D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B247D#FFFFFF#000000##FFFFFF
##9B247D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A4284E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b247d;
/* rgb */ color: rgb(155, 36, 125);
/* oklch */ color: oklch(48.3% 0.179 340.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ca3',
    500: '#9b247d',
    950: '#000000',
  },
}
SCSS
$custom: #9b247d;
$custom-light: #bc6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b247d",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 315.126,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48346,
    "c": 0.17927,
    "h": 340.3
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#9B247D
secondary
#5CBF75
accent
#E56C42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B247D

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

Preview Lab → · Contrast checker → · Palette generator →

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