#9A2180#9A2180

#9A2180 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 338.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9A2180
RGBrgb(154, 33, 128)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 60%)
CMYKcmyk(0%, 78.6%, 16.9%, 39.6%)
CIE-LABlab(36.96, 57.60, -24.82)
CIE-LCHlch(36.96, 62.72, 336.69°)
OKLaboklab(48.1% 0.171 -0.0673)
OKLCHoklch(48.1% 0.184 338.5)
XYZxyz(17.7670, 9.5180, 21.3193)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2180 #219A3B
analogous
#78219A #9A2180 #9A2143
triadic
#9A2180 #809A21 #21809A
tetradic
#9A2180 #9A7821 #219A3B #21439A
square
#9A2180 #9A7821 #219A3B #21439A
split-complementary
#9A2180 #439A21 #219A78
monochromatic
#350B2C #681656 #9A2180 #CC2CAA #DC5AC0

Accessibility & contrast

On white

7.23
#9A2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2180
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2180#FFFFFF#000000##FFFFFF
##9A21801.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B83
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#A3274F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2180;
/* rgb */ color: rgb(154, 33, 128);
/* oklch */ color: oklch(48.1% 0.184 338.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ba5',
    500: '#9a2180',
    950: '#000000',
  },
}
SCSS
$custom: #9a2180;
$custom-light: #bc6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2180",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 312.893,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.481,
    "c": 0.18375,
    "h": 338.5
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#9A2180
secondary
#57C06E
accent
#E86440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A2180

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

Preview Lab → · Contrast checker → · Palette generator →

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