#9A204E#9A204E

#9A204E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.160 H 3.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9A204E
RGBrgb(154, 32, 78)
HSLhsl(337, 66%, 36%)
HSVhsv(337, 79%, 60%)
CMYKcmyk(0%, 79.2%, 49.4%, 39.6%)
CIE-LABlab(34.91, 52.06, 3.89)
CIE-LCHlch(34.91, 52.20, 4.27°)
OKLaboklab(45.97% 0.1595 0.0105)
OKLCHoklch(45.97% 0.16 3.8)
XYZxyz(15.2194, 8.4552, 8.0368)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A204E #209A6C
analogous
#9A208B #9A204E #9A2F20
triadic
#9A204E #4E9A20 #204E9A
tetradic
#9A204E #8B9A20 #209A6C #2F209A
square
#9A204E #8B9A20 #209A6C #2F209A
split-complementary
#9A204E #209A2F #208B9A
monochromatic
#350B1B #671534 #9A204E #CD2B68 #DC588A

Accessibility & contrast

On white

7.80
#9A204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A204E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A204E#FFFFFF#000000##FFFFFF
##9A204E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a204e;
/* rgb */ color: rgb(154, 32, 78);
/* oklch */ color: oklch(46.0% 0.160 3.8);
Tailwind
colors: {
  custom: {
    50: '#bd687f',
    500: '#9a204e',
    950: '#000000',
  },
}
SCSS
$custom: #9a204e;
$custom-light: #bd687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a204e",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 337.377,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.15982,
    "h": 3.8
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#9A204E
secondary
#56C098
accent
#E9A93F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A204E

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

Preview Lab → · Contrast checker → · Palette generator →

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