#9D207E#9D207E

#9D207E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.185 H 340.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D207E
RGBrgb(157, 32, 126)
HSLhsl(315, 66%, 37%)
HSVhsv(315, 80%, 62%)
CMYKcmyk(0%, 79.6%, 19.7%, 38.4%)
CIE-LABlab(37.32, 58.32, -22.99)
CIE-LCHlch(37.32, 62.68, 338.49°)
OKLaboklab(48.43% 0.1745 -0.0621)
OKLCHoklch(48.43% 0.185 340.4)
XYZxyz(18.1876, 9.7093, 20.6509)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D207E #209D3F
analogous
#7E209D #9D207E #9D2040
triadic
#9D207E #7E9D20 #207E9D
tetradic
#9D207E #9D7E20 #209D3F #20409D
square
#9D207E #9D7E20 #209D3F #20409D
split-complementary
#9D207E #409D20 #209D7E
monochromatic
#370B2C #6A1655 #9D207E #D02AA7 #DD5ABD

Accessibility & contrast

On white

7.14
#9D207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D207E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D207E#FFFFFF#000000##FFFFFF
##9D207E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A7244D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d207e;
/* rgb */ color: rgb(157, 32, 126);
/* oklch */ color: oklch(48.4% 0.185 340.4);
Tailwind
colors: {
  custom: {
    50: '#be6ba3',
    500: '#9d207e',
    950: '#000000',
  },
}
SCSS
$custom: #9d207e;
$custom-light: #be6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d207e",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 314.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.18518,
    "h": 340.4
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#9D207E
secondary
#57C172
accent
#E9693F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D207E

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

Preview Lab → · Contrast checker → · Palette generator →

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