#9A204B#9A204B

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

Color values

HEX#9A204B
RGBrgb(154, 32, 75)
HSLhsl(339, 66%, 36%)
HSVhsv(339, 79%, 60%)
CMYKcmyk(0%, 79.2%, 51.3%, 39.6%)
CIE-LABlab(34.83, 51.80, 5.71)
CIE-LCHlch(34.83, 52.11, 6.29°)
OKLaboklab(45.88% 0.1584 0.015)
OKLCHoklch(45.88% 0.159 5.4)
XYZxyz(15.1143, 8.4132, 7.4833)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A204B #209A6F
analogous
#9A2088 #9A204B #9A3220
triadic
#9A204B #4B9A20 #204B9A
tetradic
#9A204B #889A20 #209A6F #32209A
square
#9A204B #889A20 #209A6F #32209A
split-complementary
#9A204B #209A32 #20889A
monochromatic
#350B1A #671532 #9A204B #CD2B64 #DC5887

Accessibility & contrast

On white

7.83
#9A204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A204B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A204B#FFFFFF#000000##FFFFFF
##9A204B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a204b;
/* rgb */ color: rgb(154, 32, 75);
/* oklch */ color: oklch(45.9% 0.159 5.4);
Tailwind
colors: {
  custom: {
    50: '#be687d',
    500: '#9a204b',
    950: '#000000',
  },
}
SCSS
$custom: #9a204b;
$custom-light: #be687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a204b",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 338.852,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45884,
    "c": 0.15907,
    "h": 5.4
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#9A204B
secondary
#56C09B
accent
#E9AD3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A204B

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

Preview Lab → · Contrast checker → · Palette generator →

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