#9F3871#9F3871

#9F3871 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.4% C 0.149 H 349.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F3871
RGBrgb(159, 56, 113)
HSLhsl(327, 48%, 42%)
HSVhsv(327, 65%, 62%)
CMYKcmyk(0%, 64.8%, 28.9%, 37.6%)
CIE-LABlab(40.24, 48.38, -10.39)
CIE-LCHlch(40.24, 49.48, 347.88°)
OKLaboklab(50.44% 0.1469 -0.0271)
OKLCHoklch(50.44% 0.149 349.5)
XYZxyz(18.6937, 11.3935, 16.8343)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3871 #389F66
analogous
#9A389F #9F3871 #9F383E
triadic
#9F3871 #719F38 #38719F
tetradic
#9F3871 #9F9A38 #389F66 #383E9F
square
#9F3871 #9F9A38 #389F66 #383E9F
split-complementary
#9F3871 #3E9F38 #389F9A
monochromatic
#441831 #722851 #9F3871 #C25290 #D27FAD

Accessibility & contrast

On white

6.41
#9F3871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F3871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3871
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3871#FFFFFF#000000##FFFFFF
##9F38711.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465373
Deuteranopia (green-blind)
#63666F
Tritanopia (blue-blind)
#AA344F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f3871;
/* rgb */ color: rgb(159, 56, 113);
/* oklch */ color: oklch(50.4% 0.149 349.5);
Tailwind
colors: {
  custom: {
    50: '#bf7599',
    500: '#9f3871',
    950: '#000000',
  },
}
SCSS
$custom: #9f3871;
$custom-light: #bf7599;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3871",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 326.796,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.14938,
    "h": 349.5
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#9F3871
secondary
#77BB96
accent
#D78D50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #9F3871

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

Preview Lab → · Contrast checker → · Palette generator →

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