#9F207E#9F207E

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

Color values

HEX#9F207E
RGBrgb(159, 32, 126)
HSLhsl(316, 66%, 37%)
HSVhsv(316, 80%, 62%)
CMYKcmyk(0%, 79.9%, 20.8%, 37.6%)
CIE-LABlab(37.68, 58.79, -22.38)
CIE-LCHlch(37.68, 62.91, 339.16°)
OKLaboklab(48.76% 0.1763 -0.0603)
OKLCHoklch(48.76% 0.186 341.1)
XYZxyz(18.5811, 9.9122, 20.6693)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F207E #209F41
analogous
#81209F #9F207E #9F203E
triadic
#9F207E #7E9F20 #207E9F
tetradic
#9F207E #9F8120 #209F41 #203E9F
square
#9F207E #9F8120 #209F41 #203E9F
split-complementary
#9F207E #3E9F20 #209F81
monochromatic
#390B2D #6C1656 #9F207E #D22AA6 #DE5BBC

Accessibility & contrast

On white

7.04
#9F207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F207E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F207E#FFFFFF#000000##FFFFFF
##9F207E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f207e;
/* rgb */ color: rgb(159, 32, 126);
/* oklch */ color: oklch(48.8% 0.186 341.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ba3',
    500: '#9f207e',
    950: '#000000',
  },
}
SCSS
$custom: #9f207e;
$custom-light: #bf6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f207e",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 315.591,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48759,
    "c": 0.18637,
    "h": 341.1
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#9F207E
secondary
#59C274
accent
#E96B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F207E

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

Preview Lab → · Contrast checker → · Palette generator →

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