#9B204D#9B204D

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

Color values

HEX#9B204D
RGBrgb(155, 32, 77)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 79%, 61%)
CMYKcmyk(0%, 79.4%, 50.3%, 39.2%)
CIE-LABlab(35.08, 52.25, 4.80)
CIE-LCHlch(35.08, 52.47, 5.25°)
OKLaboklab(46.12% 0.1599 0.0127)
OKLCHoklch(46.12% 0.16 4.6)
XYZxyz(15.3750, 8.5395, 7.8584)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B204D #209B6E
analogous
#9B208B #9B204D #9B3120
triadic
#9B204D #4D9B20 #204D9B
tetradic
#9B204D #8B9B20 #209B6E #31209B
square
#9B204D #8B9B20 #209B6E #31209B
split-complementary
#9B204D #209B31 #208B9B
monochromatic
#360B1B #681634 #9B204D #CE2A66 #DD5989

Accessibility & contrast

On white

7.76
#9B204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9B204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B204D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B204D#FFFFFF#000000##FFFFFF
##9B204D1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#605B4A
Tritanopia (blue-blind)
#A90034
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b204d;
/* rgb */ color: rgb(155, 32, 77);
/* oklch */ color: oklch(46.1% 0.160 4.6);
Tailwind
colors: {
  custom: {
    50: '#be697e',
    500: '#9b204d',
    950: '#000000',
  },
}
SCSS
$custom: #9b204d;
$custom-light: #be697e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b204d",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 338.049,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.16045,
    "h": 4.6
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B204D

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

Preview Lab → · Contrast checker → · Palette generator →

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