#9A204D#9A204D

#9A204D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 4.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9A204D
RGBrgb(154, 32, 77)
HSLhsl(338, 66%, 36%)
HSVhsv(338, 79%, 60%)
CMYKcmyk(0%, 79.2%, 50%, 39.6%)
CIE-LABlab(34.88, 51.97, 4.49)
CIE-LCHlch(34.88, 52.16, 4.94°)
OKLaboklab(45.94% 0.1591 0.012)
OKLCHoklch(45.94% 0.16 4.3)
XYZxyz(15.1838, 8.4410, 7.8495)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A204D #209A6D
analogous
#9A208A #9A204D #9A3020
triadic
#9A204D #4D9A20 #204D9A
tetradic
#9A204D #8A9A20 #209A6D #30209A
square
#9A204D #8A9A20 #209A6D #30209A
split-complementary
#9A204D #209A30 #208A9A
monochromatic
#350B1A #671534 #9A204D #CD2B66 #DC5889

Accessibility & contrast

On white

7.81
#9A204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9A204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A204D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A204D#FFFFFF#000000##FFFFFF
##9A204D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#A80034
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a204d;
/* rgb */ color: rgb(154, 32, 77);
/* oklch */ color: oklch(45.9% 0.160 4.3);
Tailwind
colors: {
  custom: {
    50: '#bd687e',
    500: '#9a204d',
    950: '#000000',
  },
}
SCSS
$custom: #9a204d;
$custom-light: #bd687e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a204d",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 337.869,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.15956,
    "h": 4.3
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#9A204D
secondary
#56C099
accent
#E9AA3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A204D

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

Preview Lab → · Contrast checker → · Palette generator →

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