#9D247C#9D247C

#9D247C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.180 H 341.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D247C
RGBrgb(157, 36, 124)
HSLhsl(316, 63%, 38%)
HSVhsv(316, 77%, 62%)
CMYKcmyk(0%, 77.1%, 21%, 38.4%)
CIE-LABlab(37.64, 56.85, -21.24)
CIE-LCHlch(37.64, 60.69, 339.52°)
OKLaboklab(48.63% 0.1706 -0.0571)
OKLCHoklch(48.63% 0.18 341.5)
XYZxyz(18.1742, 9.8870, 20.0161)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D247C #249D45
analogous
#82249D #9D247C #9D243F
triadic
#9D247C #7C9D24 #247C9D
tetradic
#9D247C #9D8224 #249D45 #243F9D
square
#9D247C #9D8224 #249D45 #243F9D
split-complementary
#9D247C #3F9D24 #249D82
monochromatic
#390D2D #6B1955 #9D247C #CF2FA3 #DB61B9

Accessibility & contrast

On white

7.05
#9D247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D247C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D247C#FFFFFF#000000##FFFFFF
##9D247C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#A7264D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d247c;
/* rgb */ color: rgb(157, 36, 124);
/* oklch */ color: oklch(48.6% 0.180 341.5);
Tailwind
colors: {
  custom: {
    50: '#be6ca2',
    500: '#9d247c',
    950: '#000000',
  },
}
SCSS
$custom: #9d247c;
$custom-light: #be6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d247c",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 316.364,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.17988,
    "h": 341.5
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#9D247C
secondary
#5DC078
accent
#E66F42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D247C

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

Preview Lab → · Contrast checker → · Palette generator →

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