#9F388D#9F388D

#9F388D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.168 H 335.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9F388D
RGBrgb(159, 56, 141)
HSLhsl(310, 48%, 42%)
HSVhsv(310, 65%, 62%)
CMYKcmyk(0%, 64.8%, 11.3%, 37.6%)
CIE-LABlab(41.41, 52.48, -25.81)
CIE-LCHlch(41.41, 58.49, 333.81°)
OKLaboklab(51.69% 0.1529 -0.0703)
OKLCHoklch(51.69% 0.168 335.3)
XYZxyz(20.5202, 12.1240, 26.4536)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F388D #389F4A
analogous
#7D389F #9F388D #9F385A
triadic
#9F388D #8D9F38 #388D9F
tetradic
#9F388D #9F7D38 #389F4A #385A9F
square
#9F388D #9F7D38 #389F4A #385A9F
split-complementary
#9F388D #5A9F38 #389F7D
monochromatic
#44183D #722865 #9F388D #C252AF #D27FC4

Accessibility & contrast

On white

6.13
#9F388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9F388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F388D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F388D#FFFFFF#000000##FFFFFF
##9F388D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#A73F5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f388d;
/* rgb */ color: rgb(159, 56, 141);
/* oklch */ color: oklch(51.7% 0.168 335.3);
Tailwind
colors: {
  custom: {
    50: '#be76ae',
    500: '#9f388d',
    950: '#000000',
  },
}
SCSS
$custom: #9f388d;
$custom-light: #be76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f388d",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 310.485,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.16824,
    "h": 335.3
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#9F388D
secondary
#77BB83
accent
#D76850
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9F388D

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

Preview Lab → · Contrast checker → · Palette generator →

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