#9A247D#9A247D

#9A247D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 339.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9A247D
RGBrgb(154, 36, 125)
HSLhsl(315, 62%, 37%)
HSVhsv(315, 77%, 60%)
CMYKcmyk(0%, 76.6%, 18.8%, 39.6%)
CIE-LABlab(37.14, 56.25, -22.68)
CIE-LCHlch(37.14, 60.65, 338.04°)
OKLaboklab(48.18% 0.1678 -0.0613)
OKLCHoklch(48.18% 0.179 339.9)
XYZxyz(17.6595, 9.6142, 20.3238)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A247D #249A41
analogous
#7C249A #9A247D #9A2442
triadic
#9A247D #7D9A24 #247D9A
tetradic
#9A247D #9A7C24 #249A41 #24429A
square
#9A247D #9A7C24 #249A41 #24429A
split-complementary
#9A247D #429A24 #249A7C
monochromatic
#370D2C #681855 #9A247D #CC30A5 #DA5FBB

Accessibility & contrast

On white

7.19
#9A247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9A247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A247D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A247D#FFFFFF#000000##FFFFFF
##9A247D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A3284E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a247d;
/* rgb */ color: rgb(154, 36, 125);
/* oklch */ color: oklch(48.2% 0.179 339.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ca3',
    500: '#9a247d',
    950: '#000000',
  },
}
SCSS
$custom: #9a247d;
$custom-light: #bc6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a247d",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 314.746,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.17865,
    "h": 339.9
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#9A247D
secondary
#5BBF74
accent
#E56B43
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A247D

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

Preview Lab → · Contrast checker → · Palette generator →

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