#9D247E#9D247E

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

Color values

HEX#9D247E
RGBrgb(157, 36, 126)
HSLhsl(315, 63%, 38%)
HSVhsv(315, 77%, 62%)
CMYKcmyk(0%, 77.1%, 19.7%, 38.4%)
CIE-LABlab(37.73, 57.13, -22.34)
CIE-LCHlch(37.73, 61.34, 338.64°)
OKLaboklab(48.72% 0.1709 -0.0603)
OKLCHoklch(48.72% 0.181 340.6)
XYZxyz(18.3020, 9.9381, 20.6890)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D247E #249D43
analogous
#7F249D #9D247E #9D2441
triadic
#9D247E #7E9D24 #247E9D
tetradic
#9D247E #9D7F24 #249D43 #24419D
square
#9D247E #9D7F24 #249D43 #24419D
split-complementary
#9D247E #419D24 #249D7F
monochromatic
#390D2E #6B1956 #9D247E #CF2FA6 #DB61BB

Accessibility & contrast

On white

7.03
#9D247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D247E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D247E#FFFFFF#000000##FFFFFF
##9D247E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A7284F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d247e;
/* rgb */ color: rgb(157, 36, 126);
/* oklch */ color: oklch(48.7% 0.181 340.6);
Tailwind
colors: {
  custom: {
    50: '#be6ca3',
    500: '#9d247e',
    950: '#000000',
  },
}
SCSS
$custom: #9d247e;
$custom-light: #be6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d247e",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 315.372,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.18118,
    "h": 340.6
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#9D247E
secondary
#5DC076
accent
#E66C42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D247E

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

Preview Lab → · Contrast checker → · Palette generator →

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