#9A2173#9A2173

#9A2173 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.175 H 344.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9A2173
RGBrgb(154, 33, 115)
HSLhsl(319, 65%, 37%)
HSVhsv(319, 79%, 60%)
CMYKcmyk(0%, 78.6%, 25.3%, 39.6%)
CIE-LABlab(36.36, 55.83, -17.62)
CIE-LCHlch(36.36, 58.54, 342.48°)
OKLaboklab(47.47% 0.169 -0.047)
OKLCHoklch(47.47% 0.175 344.5)
XYZxyz(16.9655, 9.1974, 17.0982)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2173 #219A48
analogous
#85219A #9A2173 #9A2137
triadic
#9A2173 #739A21 #21739A
tetradic
#9A2173 #9A8521 #219A48 #21379A
square
#9A2173 #9A8521 #219A48 #21379A
split-complementary
#9A2173 #379A21 #219A85
monochromatic
#350B28 #68164D #9A2173 #CC2C99 #DC5AB2

Accessibility & contrast

On white

7.40
#9A2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2173
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2173#FFFFFF#000000##FFFFFF
##9A21731.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304975
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#A52048
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2173;
/* rgb */ color: rgb(154, 33, 115);
/* oklch */ color: oklch(47.5% 0.175 344.5);
Tailwind
colors: {
  custom: {
    50: '#bc6a9b',
    500: '#9a2173',
    950: '#000000',
  },
}
SCSS
$custom: #9a2173;
$custom-light: #bc6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2173",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 319.339,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.17545,
    "h": 344.5
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#9A2173
secondary
#57C079
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2173

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

Preview Lab → · Contrast checker → · Palette generator →

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