#9D2789#9D2789

#9D2789 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.185 H 335.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D2789
RGBrgb(157, 39, 137)
HSLhsl(310, 60%, 38%)
HSVhsv(310, 75%, 62%)
CMYKcmyk(0%, 75.2%, 12.7%, 38.4%)
CIE-LABlab(38.60, 57.76, -27.79)
CIE-LCHlch(38.60, 64.10, 334.31°)
OKLaboklab(49.52% 0.1693 -0.0758)
OKLCHoklch(49.52% 0.185 335.9)
XYZxyz(19.1458, 10.4270, 24.6663)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2789 #279D3B
analogous
#76279D #9D2789 #9D274E
triadic
#9D2789 #899D27 #27899D
tetradic
#9D2789 #9D7627 #279D3B #274E9D
square
#9D2789 #9D7627 #279D3B #274E9D
split-complementary
#9D2789 #4E9D27 #279D76
monochromatic
#3B0F33 #6C1B5E #9D2789 #CD35B3 #D966C5

Accessibility & contrast

On white

6.81
#9D2789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2789
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2789#FFFFFF#000000##FFFFFF
##9D27891.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508C
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#A53055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2789;
/* rgb */ color: rgb(157, 39, 137);
/* oklch */ color: oklch(49.5% 0.185 335.9);
Tailwind
colors: {
  custom: {
    50: '#be6eab',
    500: '#9d2789',
    950: '#000000',
  },
}
SCSS
$custom: #9d2789;
$custom-light: #be6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2789",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 310.169,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.18547,
    "h": 335.9
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#9D2789
secondary
#61BF71
accent
#E35F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2789

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

Preview Lab → · Contrast checker → · Palette generator →

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