#9D247D#9D247D

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

Color values

HEX#9D247D
RGBrgb(157, 36, 125)
HSLhsl(316, 63%, 38%)
HSVhsv(316, 77%, 62%)
CMYKcmyk(0%, 77.1%, 20.4%, 38.4%)
CIE-LABlab(37.68, 56.99, -21.79)
CIE-LCHlch(37.68, 61.01, 339.08°)
OKLaboklab(48.68% 0.1707 -0.0587)
OKLCHoklch(48.68% 0.181 341)
XYZxyz(18.2378, 9.9124, 20.3509)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D247D #249D44
analogous
#80249D #9D247D #9D2440
triadic
#9D247D #7D9D24 #247D9D
tetradic
#9D247D #9D8024 #249D44 #24409D
square
#9D247D #9D8024 #249D44 #24409D
split-complementary
#9D247D #409D24 #249D80
monochromatic
#390D2E #6B1955 #9D247D #CF2FA5 #DB61BA

Accessibility & contrast

On white

7.04
#9D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D247D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D247D#FFFFFF#000000##FFFFFF
##9D247D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A7274E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d247d;
/* rgb */ color: rgb(157, 36, 125);
/* oklch */ color: oklch(48.7% 0.181 341.0);
Tailwind
colors: {
  custom: {
    50: '#be6ca3',
    500: '#9d247d',
    950: '#000000',
  },
}
SCSS
$custom: #9d247d;
$custom-light: #be6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d247d",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 315.868,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.18052,
    "h": 341
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#9D247D
secondary
#5DC077
accent
#E66D42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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