#9F207F#9F207F

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

Color values

HEX#9F207F
RGBrgb(159, 32, 127)
HSLhsl(315, 66%, 37%)
HSVhsv(315, 80%, 62%)
CMYKcmyk(0%, 79.9%, 20.1%, 37.6%)
CIE-LABlab(37.73, 58.93, -22.93)
CIE-LCHlch(37.73, 63.23, 338.73°)
OKLaboklab(48.81% 0.1765 -0.0619)
OKLCHoklch(48.81% 0.187 340.7)
XYZxyz(18.6459, 9.9382, 21.0108)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F207F #209F40
analogous
#7F209F #9F207F #9F2040
triadic
#9F207F #7F9F20 #207F9F
tetradic
#9F207F #9F7F20 #209F40 #20409F
square
#9F207F #9F7F20 #209F40 #20409F
split-complementary
#9F207F #409F20 #209F7F
monochromatic
#390B2E #6C1656 #9F207F #D22AA8 #DE5BBD

Accessibility & contrast

On white

7.03
#9F207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F207F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F207F#FFFFFF#000000##FFFFFF
##9F207F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A9244E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f207f;
/* rgb */ color: rgb(159, 32, 127);
/* oklch */ color: oklch(48.8% 0.187 340.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ba4',
    500: '#9f207f',
    950: '#000000',
  },
}
SCSS
$custom: #9f207f;
$custom-light: #bf6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f207f",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 315.118,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.18701,
    "h": 340.7
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#9F207F
secondary
#59C273
accent
#E9693E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F207F

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

Preview Lab → · Contrast checker → · Palette generator →

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