#9F3E71#9F3E71

#9F3E71 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.2% C 0.140 H 350.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9F3E71
RGBrgb(159, 62, 113)
HSLhsl(328, 44%, 43%)
HSVhsv(328, 61%, 62%)
CMYKcmyk(0%, 61%, 28.9%, 37.6%)
CIE-LABlab(41.23, 45.67, -8.88)
CIE-LCHlch(41.23, 46.53, 348.99°)
OKLaboklab(51.18% 0.1385 -0.0231)
OKLCHoklch(51.18% 0.14 350.5)
XYZxyz(19.0021, 12.0103, 16.9371)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3E71 #3E9F6C
analogous
#9C3E9F #9F3E71 #9F3E40
triadic
#9F3E71 #719F3E #3E719F
tetradic
#9F3E71 #9F9C3E #3E9F6C #3E409F
square
#9F3E71 #9F9C3E #3E9F6C #3E409F
split-complementary
#9F3E71 #409F3E #3E9F9C
monochromatic
#471C32 #732D52 #9F3E71 #BF5B90 #D087AE

Accessibility & contrast

On white

6.17
#9F3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F3E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3E71
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3E71#FFFFFF#000000##FFFFFF
##9F3E711.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5673
Deuteranopia (green-blind)
#65686F
Tritanopia (blue-blind)
#AA3A52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f3e71;
/* rgb */ color: rgb(159, 62, 113);
/* oklch */ color: oklch(51.2% 0.140 350.5);
Tailwind
colors: {
  custom: {
    50: '#be7899',
    500: '#9f3e71',
    950: '#000000',
  },
}
SCSS
$custom: #9f3e71;
$custom-light: #be7899;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3e71",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 328.454,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.14045,
    "h": 350.5
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#9F3E71
secondary
#7EBB9B
accent
#D49154
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #9F3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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