#9F378C#9F378C

#9F378C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.169 H 335.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9F378C
RGBrgb(159, 55, 140)
HSLhsl(311, 49%, 42%)
HSVhsv(311, 65%, 62%)
CMYKcmyk(0%, 65.4%, 11.9%, 37.6%)
CIE-LABlab(41.21, 52.75, -25.51)
CIE-LCHlch(41.21, 58.59, 334.19°)
OKLaboklab(51.53% 0.154 -0.0694)
OKLCHoklch(51.53% 0.169 335.7)
XYZxyz(20.3981, 11.9984, 26.0475)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F378C #379F4A
analogous
#7E379F #9F378C #9F3758
triadic
#9F378C #8C9F37 #378C9F
tetradic
#9F378C #9F7E37 #379F4A #37589F
square
#9F378C #9F7E37 #379F4A #37589F
split-complementary
#9F378C #589F37 #379F7E
monochromatic
#44183C #722764 #9F378C #C351AE #D27EC3

Accessibility & contrast

On white

6.18
#9F378C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F378C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F378C#FFFFFF#000000##FFFFFF
##9F378C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#596789
Tritanopia (blue-blind)
#A73D5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f378c;
/* rgb */ color: rgb(159, 55, 140);
/* oklch */ color: oklch(51.5% 0.169 335.7);
Tailwind
colors: {
  custom: {
    50: '#be75ae',
    500: '#9f378c',
    950: '#000000',
  },
}
SCSS
$custom: #9f378c;
$custom-light: #be75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f378c",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 310.962,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.16888,
    "h": 335.7
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#9F378C
secondary
#76BC83
accent
#D86950
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9F378C

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

Preview Lab → · Contrast checker → · Palette generator →

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