#9F2386#9F2386

#9F2386 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.189 H 337.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F2386
RGBrgb(159, 35, 134)
HSLhsl(312, 64%, 38%)
HSVhsv(312, 78%, 62%)
CMYKcmyk(0%, 78%, 15.7%, 37.6%)
CIE-LABlab(38.37, 59.04, -26.27)
CIE-LCHlch(38.37, 64.62, 336.01°)
OKLaboklab(49.38% 0.1747 -0.0714)
OKLCHoklch(49.38% 0.189 337.8)
XYZxyz(19.2026, 10.2961, 23.5257)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2386 #239F3C
analogous
#7A239F #9F2386 #9F2348
triadic
#9F2386 #869F23 #23869F
tetradic
#9F2386 #9F7A23 #239F3C #23489F
square
#9F2386 #9F7A23 #239F3C #23489F
split-complementary
#9F2386 #489F23 #239F7A
monochromatic
#3B0D31 #6D185C #9F2386 #D12EB0 #DC60C3

Accessibility & contrast

On white

6.87
#9F2386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2386
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2386#FFFFFF#000000##FFFFFF
##9F23861.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A82A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2386;
/* rgb */ color: rgb(159, 35, 134);
/* oklch */ color: oklch(49.4% 0.189 337.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9f2386',
    950: '#000000',
  },
}
SCSS
$custom: #9f2386;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2386",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 312.097,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.18872,
    "h": 337.8
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#9F2386
secondary
#5DC171
accent
#E76241
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2386

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

Preview Lab → · Contrast checker → · Palette generator →

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