#9A2174#9A2174

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

Color values

HEX#9A2174
RGBrgb(154, 33, 116)
HSLhsl(319, 65%, 37%)
HSVhsv(319, 79%, 60%)
CMYKcmyk(0%, 78.6%, 24.7%, 39.6%)
CIE-LABlab(36.41, 55.96, -18.18)
CIE-LCHlch(36.41, 58.84, 342.00°)
OKLaboklab(47.52% 0.1692 -0.0486)
OKLCHoklch(47.52% 0.176 344)
XYZxyz(17.0234, 9.2205, 17.4028)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2174 #219A47
analogous
#84219A #9A2174 #9A2138
triadic
#9A2174 #749A21 #21749A
tetradic
#9A2174 #9A8421 #219A47 #21389A
square
#9A2174 #9A8421 #219A47 #21389A
split-complementary
#9A2174 #389A21 #219A84
monochromatic
#350B28 #68164E #9A2174 #CC2C9A #DC5AB3

Accessibility & contrast

On white

7.38
#9A2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2174
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2174#FFFFFF#000000##FFFFFF
##9A21741.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304976
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A42048
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2174;
/* rgb */ color: rgb(154, 33, 116);
/* oklch */ color: oklch(47.5% 0.176 344.0);
Tailwind
colors: {
  custom: {
    50: '#bc6a9c',
    500: '#9a2174',
    950: '#000000',
  },
}
SCSS
$custom: #9a2174;
$custom-light: #bc6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2174",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 318.843,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.17605,
    "h": 344
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#9A2174
secondary
#57C078
accent
#E87540
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2174

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

Preview Lab → · Contrast checker → · Palette generator →

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