#9D204D#9D204D

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

Color values

HEX#9D204D
RGBrgb(157, 32, 77)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 80%, 62%)
CMYKcmyk(0%, 79.6%, 51%, 38.4%)
CIE-LABlab(35.48, 52.82, 5.42)
CIE-LCHlch(35.48, 53.10, 5.86°)
OKLaboklab(46.49% 0.1616 0.0143)
OKLCHoklch(46.49% 0.162 5.1)
XYZxyz(15.7621, 8.7391, 7.8766)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D204D #209D70
analogous
#9D208C #9D204D #9D3120
triadic
#9D204D #4D9D20 #204D9D
tetradic
#9D204D #8C9D20 #209D70 #31209D
square
#9D204D #8C9D20 #209D70 #31209D
split-complementary
#9D204D #209D31 #208C9D
monochromatic
#370B1B #6A1634 #9D204D #D02A66 #DD5A89

Accessibility & contrast

On white

7.64
#9D204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D204D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D204D#FFFFFF#000000##FFFFFF
##9D204D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#615C4A
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d204d;
/* rgb */ color: rgb(157, 32, 77);
/* oklch */ color: oklch(46.5% 0.162 5.1);
Tailwind
colors: {
  custom: {
    50: '#c0697e',
    500: '#9d204d',
    950: '#000000',
  },
}
SCSS
$custom: #9d204d;
$custom-light: #c0697e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d204d",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 338.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.16221,
    "h": 5.1
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#9D204D
secondary
#57C19B
accent
#E9AC3F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D204D

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

Preview Lab → · Contrast checker → · Palette generator →

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