#9D204C#9D204C

#9D204C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.162 H 5.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9D204C
RGBrgb(157, 32, 76)
HSLhsl(339, 66%, 37%)
HSVhsv(339, 80%, 62%)
CMYKcmyk(0%, 79.6%, 51.6%, 38.4%)
CIE-LABlab(35.45, 52.73, 6.03)
CIE-LCHlch(35.45, 53.08, 6.52°)
OKLaboklab(46.46% 0.1612 0.0158)
OKLCHoklch(46.46% 0.162 5.6)
XYZxyz(15.7271, 8.7251, 7.6921)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D204C #209D71
analogous
#9D208B #9D204C #9D3220
triadic
#9D204C #4C9D20 #204C9D
tetradic
#9D204C #8B9D20 #209D71 #32209D
square
#9D204C #8B9D20 #209D71 #32209D
split-complementary
#9D204C #209D32 #208B9D
monochromatic
#370B1B #6A1633 #9D204C #D02A65 #DD5A88

Accessibility & contrast

On white

7.65
#9D204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D204C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D204C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D204C#FFFFFF#000000##FFFFFF
##9D204C1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d204c;
/* rgb */ color: rgb(157, 32, 76);
/* oklch */ color: oklch(46.5% 0.162 5.6);
Tailwind
colors: {
  custom: {
    50: '#c0697d',
    500: '#9d204c',
    950: '#000000',
  },
}
SCSS
$custom: #9d204c;
$custom-light: #c0697d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d204c",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 338.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.16197,
    "h": 5.6
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#9D204C
secondary
#57C19C
accent
#E9AD3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D204C

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

Preview Lab → · Contrast checker → · Palette generator →

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