#9B204E#9B204E

#9B204E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.161 H 4.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9B204E
RGBrgb(155, 32, 78)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 79%, 61%)
CMYKcmyk(0%, 79.4%, 49.7%, 39.2%)
CIE-LABlab(35.11, 52.34, 4.20)
CIE-LCHlch(35.11, 52.51, 4.58°)
OKLaboklab(46.15% 0.1603 0.0112)
OKLCHoklch(46.15% 0.161 4)
XYZxyz(15.4106, 8.5538, 8.0458)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B204E #209B6D
analogous
#9B208C #9B204E #9B3020
triadic
#9B204E #4E9B20 #204E9B
tetradic
#9B204E #8C9B20 #209B6D #30209B
square
#9B204E #8C9B20 #209B6D #30209B
split-complementary
#9B204E #209B30 #208C9B
monochromatic
#360B1B #681634 #9B204E #CE2A68 #DD598A

Accessibility & contrast

On white

7.75
#9B204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B204E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B204E#FFFFFF#000000##FFFFFF
##9B204E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#A90034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b204e;
/* rgb */ color: rgb(155, 32, 78);
/* oklch */ color: oklch(46.2% 0.161 4.0);
Tailwind
colors: {
  custom: {
    50: '#be697f',
    500: '#9b204e',
    950: '#000000',
  },
}
SCSS
$custom: #9b204e;
$custom-light: #be697f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b204e",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 337.561,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.1607,
    "h": 4
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B204E

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

Preview Lab → · Contrast checker → · Palette generator →

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