#9F3873#9F3873

#9F3873 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.151 H 348.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9F3873
RGBrgb(159, 56, 115)
HSLhsl(326, 48%, 42%)
HSVhsv(326, 65%, 62%)
CMYKcmyk(0%, 64.8%, 27.7%, 37.6%)
CIE-LABlab(40.31, 48.65, -11.52)
CIE-LCHlch(40.31, 49.99, 346.68°)
OKLaboklab(50.52% 0.1475 -0.0302)
OKLCHoklch(50.52% 0.151 348.4)
XYZxyz(18.8075, 11.4390, 17.4338)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3873 #389F64
analogous
#98389F #9F3873 #9F3840
triadic
#9F3873 #739F38 #38739F
tetradic
#9F3873 #9F9838 #389F64 #38409F
square
#9F3873 #9F9838 #389F64 #38409F
split-complementary
#9F3873 #409F38 #389F98
monochromatic
#441832 #722852 #9F3873 #C25292 #D27FAF

Accessibility & contrast

On white

6.39
#9F3873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F3873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3873
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3873#FFFFFF#000000##FFFFFF
##9F38731.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#626671
Tritanopia (blue-blind)
#AA3450
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f3873;
/* rgb */ color: rgb(159, 56, 115);
/* oklch */ color: oklch(50.5% 0.151 348.4);
Tailwind
colors: {
  custom: {
    50: '#bf759b',
    500: '#9f3873',
    950: '#000000',
  },
}
SCSS
$custom: #9f3873;
$custom-light: #bf759b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3873",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 325.631,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.15051,
    "h": 348.4
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#9F3873
secondary
#77BB94
accent
#D78A50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #9F3873

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

Preview Lab → · Contrast checker → · Palette generator →

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