#9D2E86#9D2E86

#9D2E86 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.175 H 337.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D2E86
RGBrgb(157, 46, 134)
HSLhsl(312, 55%, 40%)
HSVhsv(312, 71%, 62%)
CMYKcmyk(0%, 70.7%, 14.6%, 38.4%)
CIE-LABlab(39.32, 54.86, -24.82)
CIE-LCHlch(39.32, 60.21, 335.66°)
OKLaboklab(50% 0.1616 -0.0674)
OKLCHoklch(50% 0.175 337.4)
XYZxyz(19.1850, 10.8451, 23.6325)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E86 #2E9D45
analogous
#7C2E9D #9D2E86 #9D2E4F
triadic
#9D2E86 #869D2E #2E869D
tetradic
#9D2E86 #9D7C2E #2E9D45 #2E4F9D
square
#9D2E86 #9D7C2E #2E9D45 #2E4F9D
split-complementary
#9D2E86 #4F9D2E #2E9D7C
monochromatic
#3E1235 #6E205E #9D2E86 #C741AB #D570C0

Accessibility & contrast

On white

6.63
#9D2E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D2E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E86
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E86#FFFFFF#000000##FFFFFF
##9D2E861.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315288
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#A53456
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2e86;
/* rgb */ color: rgb(157, 46, 134);
/* oklch */ color: oklch(50.0% 0.175 337.4);
Tailwind
colors: {
  custom: {
    50: '#bd71a9',
    500: '#9d2e86',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e86;
$custom-light: #bd71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e86",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 312.432,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.1751,
    "h": 337.4
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#9D2E86
secondary
#6ABD7B
accent
#DE684A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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