#9B204A#9B204A

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

Color values

HEX#9B204A
RGBrgb(155, 32, 74)
HSLhsl(340, 66%, 37%)
HSVhsv(340, 79%, 61%)
CMYKcmyk(0%, 79.4%, 52.3%, 39.2%)
CIE-LABlab(35.00, 52.00, 6.63)
CIE-LCHlch(35.00, 52.42, 7.27°)
OKLaboklab(46.04% 0.1588 0.0173)
OKLCHoklch(46.04% 0.16 6.2)
XYZxyz(15.2715, 8.4981, 7.3134)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B204A #209B71
analogous
#9B2088 #9B204A #9B3420
triadic
#9B204A #4A9B20 #204A9B
tetradic
#9B204A #889B20 #209B71 #34209B
square
#9B204A #889B20 #209B71 #34209B
split-complementary
#9B204A #209B34 #20889B
monochromatic
#360B1A #681632 #9B204A #CE2A62 #DD5986

Accessibility & contrast

On white

7.78
#9B204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B204A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B204A#FFFFFF#000000##FFFFFF
##9B204A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b204a;
/* rgb */ color: rgb(155, 32, 74);
/* oklch */ color: oklch(46.0% 0.160 6.2);
Tailwind
colors: {
  custom: {
    50: '#be687c',
    500: '#9b204a',
    950: '#000000',
  },
}
SCSS
$custom: #9b204a;
$custom-light: #be687c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b204a",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 339.512,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.15974,
    "h": 6.2
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#9B204A
secondary
#56C19C
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B204A

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

Preview Lab → · Contrast checker → · Palette generator →

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