#9D2A86#9D2A86

#9D2A86 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.180 H 337.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9D2A86
RGBrgb(157, 42, 134)
HSLhsl(312, 58%, 39%)
HSVhsv(312, 73%, 62%)
CMYKcmyk(0%, 73.2%, 14.6%, 38.4%)
CIE-LABlab(38.81, 56.30, -25.61)
CIE-LCHlch(38.81, 61.85, 335.54°)
OKLaboklab(49.63% 0.1659 -0.0696)
OKLCHoklch(49.63% 0.18 337.2)
XYZxyz(19.0360, 10.5470, 23.5829)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A86 #2A9D41
analogous
#7B2A9D #9D2A86 #9D2A4D
triadic
#9D2A86 #869D2A #2A869D
tetradic
#9D2A86 #9D7B2A #2A9D41 #2A4D9D
square
#9D2A86 #9D7B2A #2A9D41 #2A4D9D
split-complementary
#9D2A86 #4D9D2A #2A9D7B
monochromatic
#3C1034 #6D1D5D #9D2A86 #CA3AAD #D76AC1

Accessibility & contrast

On white

6.75
#9D2A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A86
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A86#FFFFFF#000000##FFFFFF
##9D2A861.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5089
Deuteranopia (green-blind)
#546283
Tritanopia (blue-blind)
#A63155
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2a86;
/* rgb */ color: rgb(157, 42, 134);
/* oklch */ color: oklch(49.6% 0.180 337.2);
Tailwind
colors: {
  custom: {
    50: '#bd6fa9',
    500: '#9d2a86',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a86;
$custom-light: #bd6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a86",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 312,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49626,
    "c": 0.17994,
    "h": 337.2
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#9D2A86
secondary
#65BE77
accent
#E16647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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