#9F207D#9F207D

#9F207D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 341.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9F207D
RGBrgb(159, 32, 125)
HSLhsl(316, 66%, 37%)
HSVhsv(316, 80%, 62%)
CMYKcmyk(0%, 79.9%, 21.4%, 37.6%)
CIE-LABlab(37.64, 58.66, -21.83)
CIE-LCHlch(37.64, 62.59, 339.58°)
OKLaboklab(48.71% 0.1762 -0.0588)
OKLCHoklch(48.71% 0.186 341.6)
XYZxyz(18.5169, 9.8866, 20.3312)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F207D #209F42
analogous
#82209F #9F207D #9F203E
triadic
#9F207D #7D9F20 #207D9F
tetradic
#9F207D #9F8220 #209F42 #203E9F
square
#9F207D #9F8220 #209F42 #203E9F
split-complementary
#9F207D #3E9F20 #209F82
monochromatic
#390B2D #6C1655 #9F207D #D22AA5 #DE5BBB

Accessibility & contrast

On white

7.05
#9F207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F207D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F207D#FFFFFF#000000##FFFFFF
##9F207D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A9234D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f207d;
/* rgb */ color: rgb(159, 32, 125);
/* oklch */ color: oklch(48.7% 0.186 341.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ba3',
    500: '#9f207d',
    950: '#000000',
  },
}
SCSS
$custom: #9f207d;
$custom-light: #bf6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f207d",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 316.063,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.18574,
    "h": 341.6
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#9F207D
secondary
#59C275
accent
#E96C3E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F207D

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

Preview Lab → · Contrast checker → · Palette generator →

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