#9D2A85#9D2A85

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

Color values

HEX#9D2A85
RGBrgb(157, 42, 133)
HSLhsl(313, 58%, 39%)
HSVhsv(313, 73%, 62%)
CMYKcmyk(0%, 73.2%, 15.3%, 38.4%)
CIE-LABlab(38.76, 56.15, -25.07)
CIE-LCHlch(38.76, 61.50, 335.94°)
OKLaboklab(49.58% 0.1658 -0.0681)
OKLCHoklch(49.58% 0.179 337.7)
XYZxyz(18.9666, 10.5192, 23.2173)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A85 #2A9D42
analogous
#7C2A9D #9D2A85 #9D2A4C
triadic
#9D2A85 #859D2A #2A859D
tetradic
#9D2A85 #9D7C2A #2A9D42 #2A4C9D
square
#9D2A85 #9D7C2A #2A9D42 #2A4C9D
split-complementary
#9D2A85 #4C9D2A #2A9D7C
monochromatic
#3C1033 #6D1D5C #9D2A85 #CA3AAC #D76AC0

Accessibility & contrast

On white

6.77
#9D2A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A85
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A85#FFFFFF#000000##FFFFFF
##9D2A851.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#556282
Tritanopia (blue-blind)
#A63054
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2a85;
/* rgb */ color: rgb(157, 42, 133);
/* oklch */ color: oklch(49.6% 0.179 337.7);
Tailwind
colors: {
  custom: {
    50: '#bd6fa9',
    500: '#9d2a85',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a85;
$custom-light: #bd6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a85",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 312.522,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.17924,
    "h": 337.7
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#9D2A85
secondary
#65BE78
accent
#E16747
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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