#9A247F#9A247F

#9A247F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.180 H 339.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9A247F
RGBrgb(154, 36, 127)
HSLhsl(314, 62%, 37%)
HSVhsv(314, 77%, 60%)
CMYKcmyk(0%, 76.6%, 17.5%, 39.6%)
CIE-LABlab(37.24, 56.54, -23.77)
CIE-LCHlch(37.24, 61.33, 337.19°)
OKLaboklab(48.28% 0.1681 -0.0644)
OKLCHoklch(48.28% 0.18 339)
XYZxyz(17.7885, 9.6658, 21.0034)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A247F #249A3F
analogous
#7A249A #9A247F #9A2444
triadic
#9A247F #7F9A24 #247F9A
tetradic
#9A247F #9A7A24 #249A3F #24449A
square
#9A247F #9A7A24 #249A3F #24449A
split-complementary
#9A247F #449A24 #249A7A
monochromatic
#370D2D #681856 #9A247F #CC30A8 #DA5FBD

Accessibility & contrast

On white

7.16
#9A247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A247F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A247F#FFFFFF#000000##FFFFFF
##9A247F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#A3294F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a247f;
/* rgb */ color: rgb(154, 36, 127);
/* oklch */ color: oklch(48.3% 0.180 339.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ca4',
    500: '#9a247f',
    950: '#000000',
  },
}
SCSS
$custom: #9a247f;
$custom-light: #bc6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a247f",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 313.729,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.17999,
    "h": 339
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#9A247F
secondary
#5BBF72
accent
#E56843
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A247F

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

Preview Lab → · Contrast checker → · Palette generator →

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