#9D247F#9D247F

#9D247F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 340.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D247F
RGBrgb(157, 36, 127)
HSLhsl(315, 63%, 38%)
HSVhsv(315, 77%, 62%)
CMYKcmyk(0%, 77.1%, 19.1%, 38.4%)
CIE-LABlab(37.78, 57.27, -22.89)
CIE-LCHlch(37.78, 61.67, 338.21°)
OKLaboklab(48.77% 0.171 -0.0618)
OKLCHoklch(48.77% 0.182 340.1)
XYZxyz(18.3668, 9.9640, 21.0305)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D247F #249D42
analogous
#7E249D #9D247F #9D2442
triadic
#9D247F #7F9D24 #247F9D
tetradic
#9D247F #9D7E24 #249D42 #24429D
square
#9D247F #9D7E24 #249D42 #24429D
split-complementary
#9D247F #429D24 #249D7E
monochromatic
#390D2E #6B1957 #9D247F #CF2FA7 #DB61BC

Accessibility & contrast

On white

7.02
#9D247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D247F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D247F#FFFFFF#000000##FFFFFF
##9D247F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d247f;
/* rgb */ color: rgb(157, 36, 127);
/* oklch */ color: oklch(48.8% 0.182 340.1);
Tailwind
colors: {
  custom: {
    50: '#be6ca4',
    500: '#9d247f',
    950: '#000000',
  },
}
SCSS
$custom: #9d247f;
$custom-light: #be6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d247f",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 314.876,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48773,
    "c": 0.18183,
    "h": 340.1
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#9D247F
secondary
#5DC075
accent
#E66B42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D247F

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

Preview Lab → · Contrast checker → · Palette generator →

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