#9A2477#9A2477

#9A2477 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.175 H 342.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2477
RGBrgb(154, 36, 119)
HSLhsl(318, 62%, 37%)
HSVhsv(318, 77%, 60%)
CMYKcmyk(0%, 76.6%, 22.7%, 39.6%)
CIE-LABlab(36.87, 55.42, -19.36)
CIE-LCHlch(36.87, 58.71, 340.75°)
OKLaboklab(47.89% 0.1669 -0.0519)
OKLCHoklch(47.89% 0.175 342.7)
XYZxyz(17.2877, 9.4655, 18.3658)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2477 #249A47
analogous
#82249A #9A2477 #9A243C
triadic
#9A2477 #779A24 #24779A
tetradic
#9A2477 #9A8224 #249A47 #243C9A
square
#9A2477 #9A8224 #249A47 #243C9A
split-complementary
#9A2477 #3C9A24 #249A82
monochromatic
#370D2A #681851 #9A2477 #CC309D #DA5FB5

Accessibility & contrast

On white

7.26
#9A2477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A2477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2477
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2477#FFFFFF#000000##FFFFFF
##9A24771.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A79
Deuteranopia (green-blind)
#555E74
Tritanopia (blue-blind)
#A4254B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2477;
/* rgb */ color: rgb(154, 36, 119);
/* oklch */ color: oklch(47.9% 0.175 342.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b9e',
    500: '#9a2477',
    950: '#000000',
  },
}
SCSS
$custom: #9a2477;
$custom-light: #bc6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2477",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 317.797,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.17477,
    "h": 342.7
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#9A2477
secondary
#5BBF79
accent
#E57343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2477

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

Preview Lab → · Contrast checker → · Palette generator →

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