#9F377F#9F377F

#9F377F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.160 H 342.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9F377F
RGBrgb(159, 55, 127)
HSLhsl(318, 49%, 42%)
HSVhsv(318, 65%, 62%)
CMYKcmyk(0%, 65.4%, 20.1%, 37.6%)
CIE-LABlab(40.63, 50.76, -18.45)
CIE-LCHlch(40.63, 54.01, 340.03°)
OKLaboklab(50.92% 0.1517 -0.0494)
OKLCHoklch(50.92% 0.16 342)
XYZxyz(19.4956, 11.6374, 21.2941)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F377F #379F57
analogous
#8B379F #9F377F #9F374B
triadic
#9F377F #7F9F37 #377F9F
tetradic
#9F377F #9F8B37 #379F57 #374B9F
square
#9F377F #9F8B37 #379F57 #374B9F
split-complementary
#9F377F #4B9F37 #379F8B
monochromatic
#441836 #72275B #9F377F #C351A0 #D27EB8

Accessibility & contrast

On white

6.31
#9F377F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F377F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F377F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F377F#FFFFFF#000000##FFFFFF
##9F377F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#A93856
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f377f;
/* rgb */ color: rgb(159, 55, 127);
/* oklch */ color: oklch(50.9% 0.160 342.0);
Tailwind
colors: {
  custom: {
    50: '#bf75a4',
    500: '#9f377f',
    950: '#000000',
  },
}
SCSS
$custom: #9f377f;
$custom-light: #bf75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f377f",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 318.462,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.15951,
    "h": 342
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#9F377F
secondary
#76BC8C
accent
#D87A50
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F377F

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

Preview Lab → · Contrast checker → · Palette generator →

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