#9A204C#9A204C

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

Color values

HEX#9A204C
RGBrgb(154, 32, 76)
HSLhsl(338, 66%, 36%)
HSVhsv(338, 79%, 60%)
CMYKcmyk(0%, 79.2%, 50.6%, 39.6%)
CIE-LABlab(34.86, 51.88, 5.10)
CIE-LCHlch(34.86, 52.13, 5.62°)
OKLaboklab(45.91% 0.1587 0.0135)
OKLCHoklch(45.91% 0.159 4.9)
XYZxyz(15.1488, 8.4270, 7.6649)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A204C #209A6E
analogous
#9A2089 #9A204C #9A3120
triadic
#9A204C #4C9A20 #204C9A
tetradic
#9A204C #899A20 #209A6E #31209A
square
#9A204C #899A20 #209A6E #31209A
split-complementary
#9A204C #209A31 #20899A
monochromatic
#350B1A #671533 #9A204C #CD2B65 #DC5888

Accessibility & contrast

On white

7.82
#9A204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A204C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A204C#FFFFFF#000000##FFFFFF
##9A204C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#5F5B49
Tritanopia (blue-blind)
#A80033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a204c;
/* rgb */ color: rgb(154, 32, 76);
/* oklch */ color: oklch(45.9% 0.159 4.9);
Tailwind
colors: {
  custom: {
    50: '#bd687d',
    500: '#9a204c',
    950: '#000000',
  },
}
SCSS
$custom: #9a204c;
$custom-light: #bd687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a204c",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 338.361,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.15931,
    "h": 4.9
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#9A204C
secondary
#56C09A
accent
#E9AB3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A204C

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

Preview Lab → · Contrast checker → · Palette generator →

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