#9F207C#9F207C

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

Color values

HEX#9F207C
RGBrgb(159, 32, 124)
HSLhsl(317, 66%, 37%)
HSVhsv(317, 80%, 62%)
CMYKcmyk(0%, 79.9%, 22%, 37.6%)
CIE-LABlab(37.59, 58.52, -21.28)
CIE-LCHlch(37.59, 62.27, 340.02°)
OKLaboklab(48.66% 0.1761 -0.0572)
OKLCHoklch(48.66% 0.185 342)
XYZxyz(18.4533, 9.8611, 19.9964)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F207C #209F43
analogous
#82209F #9F207C #9F203D
triadic
#9F207C #7C9F20 #207C9F
tetradic
#9F207C #9F8220 #209F43 #203D9F
square
#9F207C #9F8220 #209F43 #203D9F
split-complementary
#9F207C #3D9F20 #209F82
monochromatic
#390B2D #6C1654 #9F207C #D22AA4 #DE5BBA

Accessibility & contrast

On white

7.07
#9F207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F207C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F207C#FFFFFF#000000##FFFFFF
##9F207C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#A9224C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f207c;
/* rgb */ color: rgb(159, 32, 124);
/* oklch */ color: oklch(48.7% 0.185 342.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ba2',
    500: '#9f207c',
    950: '#000000',
  },
}
SCSS
$custom: #9f207c;
$custom-light: #bf6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f207c",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 316.535,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.18512,
    "h": 342
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9F207C
secondary
#59C276
accent
#E96E3E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F207C

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

Preview Lab → · Contrast checker → · Palette generator →

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