#9F207B#9F207B

#9F207B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.184 H 342.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9F207B
RGBrgb(159, 32, 123)
HSLhsl(317, 66%, 37%)
HSVhsv(317, 80%, 62%)
CMYKcmyk(0%, 79.9%, 22.6%, 37.6%)
CIE-LABlab(37.55, 58.39, -20.73)
CIE-LCHlch(37.55, 61.96, 340.45°)
OKLaboklab(48.61% 0.1759 -0.0556)
OKLCHoklch(48.61% 0.184 342.4)
XYZxyz(18.3904, 9.8360, 19.6651)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F207B #209F44
analogous
#84209F #9F207B #9F203B
triadic
#9F207B #7B9F20 #207B9F
tetradic
#9F207B #9F8420 #209F44 #203B9F
square
#9F207B #9F8420 #209F44 #203B9F
split-complementary
#9F207B #3B9F20 #209F84
monochromatic
#390B2C #6C1654 #9F207B #D22AA2 #DE5BB9

Accessibility & contrast

On white

7.08
#9F207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F207B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F207B#FFFFFF#000000##FFFFFF
##9F207B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A9214C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f207b;
/* rgb */ color: rgb(159, 32, 123);
/* oklch */ color: oklch(48.6% 0.184 342.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ba1',
    500: '#9f207b',
    950: '#000000',
  },
}
SCSS
$custom: #9f207b;
$custom-light: #bf6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f207b",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 317.008,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.18449,
    "h": 342.4
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#9F207B
secondary
#59C277
accent
#E96F3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9F207B

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

Preview Lab → · Contrast checker → · Palette generator →

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