#9F378D#9F378D

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

Color values

HEX#9F378D
RGBrgb(159, 55, 141)
HSLhsl(310, 49%, 42%)
HSVhsv(310, 65%, 62%)
CMYKcmyk(0%, 65.4%, 11.3%, 37.6%)
CIE-LABlab(41.26, 52.90, -26.05)
CIE-LCHlch(41.26, 58.97, 333.79°)
OKLaboklab(51.58% 0.1541 -0.0709)
OKLCHoklch(51.58% 0.17 335.3)
XYZxyz(20.4722, 12.0281, 26.4376)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F378D #379F49
analogous
#7D379F #9F378D #9F3759
triadic
#9F378D #8D9F37 #378D9F
tetradic
#9F378D #9F7D37 #379F49 #37599F
square
#9F378D #9F7D37 #379F49 #37599F
split-complementary
#9F378D #599F37 #379F7D
monochromatic
#44183C #722765 #9F378D #C351AF #D27EC4

Accessibility & contrast

On white

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

On black

3.41
#9F378D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F378D#FFFFFF#000000##FFFFFF
##9F378D1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#A73E5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f378d;
/* rgb */ color: rgb(159, 55, 141);
/* oklch */ color: oklch(51.6% 0.170 335.3);
Tailwind
colors: {
  custom: {
    50: '#be75ae',
    500: '#9f378d',
    950: '#000000',
  },
}
SCSS
$custom: #9f378d;
$custom-light: #be75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f378d",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 310.385,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.16965,
    "h": 335.3
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#9F378D
secondary
#76BC82
accent
#D86750
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9F378D

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

Preview Lab → · Contrast checker → · Palette generator →

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