#9D207B#9D207B

#9D207B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.183 H 341.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D207B
RGBrgb(157, 32, 123)
HSLhsl(316, 66%, 37%)
HSVhsv(316, 80%, 62%)
CMYKcmyk(0%, 79.6%, 21.7%, 38.4%)
CIE-LABlab(37.18, 57.91, -21.33)
CIE-LCHlch(37.18, 61.71, 339.78°)
OKLaboklab(48.28% 0.1741 -0.0574)
OKLCHoklch(48.28% 0.183 341.8)
XYZxyz(17.9969, 9.6331, 19.6466)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D207B #209D42
analogous
#81209D #9D207B #9D203D
triadic
#9D207B #7B9D20 #207B9D
tetradic
#9D207B #9D8120 #209D42 #203D9D
square
#9D207B #9D8120 #209D42 #203D9D
split-complementary
#9D207B #3D9D20 #209D81
monochromatic
#370B2B #6A1653 #9D207B #D02AA3 #DD5ABA

Accessibility & contrast

On white

7.18
#9D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D207B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D207B#FFFFFF#000000##FFFFFF
##9D207B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7D
Deuteranopia (green-blind)
#555F78
Tritanopia (blue-blind)
#A7224C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d207b;
/* rgb */ color: rgb(157, 32, 123);
/* oklch */ color: oklch(48.3% 0.183 341.8);
Tailwind
colors: {
  custom: {
    50: '#be6ba1',
    500: '#9d207b',
    950: '#000000',
  },
}
SCSS
$custom: #9d207b;
$custom-light: #be6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d207b",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 316.32,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.18327,
    "h": 341.8
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#9D207B
secondary
#57C174
accent
#E96D3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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