#9C2F86#9C2F86

#9C2F86 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.173 H 337.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9C2F86
RGBrgb(156, 47, 134)
HSLhsl(312, 54%, 40%)
HSVhsv(312, 70%, 61%)
CMYKcmyk(0%, 69.9%, 14.1%, 38.8%)
CIE-LABlab(39.28, 54.22, -24.89)
CIE-LCHlch(39.28, 59.66, 335.35°)
OKLaboklab(49.94% 0.1595 -0.0676)
OKLCHoklch(49.94% 0.173 337)
XYZxyz(19.0302, 10.8239, 23.6366)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F86 #2F9C45
analogous
#7C2F9C #9C2F86 #9C2F50
triadic
#9C2F86 #869C2F #2F869C
tetradic
#9C2F86 #9C7C2F #2F9C45 #2F509C
square
#9C2F86 #9C7C2F #2F9C45 #2F509C
split-complementary
#9C2F86 #509C2F #2F9C7C
monochromatic
#3E1335 #6D215E #9C2F86 #C642AB #D471C0

Accessibility & contrast

On white

6.64
#9C2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C2F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F86
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F86#FFFFFF#000000##FFFFFF
##9C2F861.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#A43556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2f86;
/* rgb */ color: rgb(156, 47, 134);
/* oklch */ color: oklch(49.9% 0.173 337.0);
Tailwind
colors: {
  custom: {
    50: '#bd71a9',
    500: '#9c2f86',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f86;
$custom-light: #bd71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f86",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 312.11,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49937,
    "c": 0.1732,
    "h": 337
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#9C2F86
secondary
#6BBC7B
accent
#DD684B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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