#9D2E78#9D2E78

#9D2E78 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.166 H 344.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D2E78
RGBrgb(157, 46, 120)
HSLhsl(320, 55%, 40%)
HSVhsv(320, 71%, 62%)
CMYKcmyk(0%, 70.7%, 23.6%, 38.4%)
CIE-LABlab(38.69, 52.84, -17.13)
CIE-LCHlch(38.69, 55.54, 342.04°)
OKLaboklab(49.33% 0.1592 -0.0457)
OKLCHoklch(49.33% 0.166 344)
XYZxyz(18.2724, 10.4800, 18.8262)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E78 #2E9D53
analogous
#8B2E9D #9D2E78 #9D2E40
triadic
#9D2E78 #789D2E #2E789D
tetradic
#9D2E78 #9D8B2E #2E9D53 #2E409D
square
#9D2E78 #9D8B2E #2E9D53 #2E409D
split-complementary
#9D2E78 #409D2E #2E9D8B
monochromatic
#3E1230 #6E2054 #9D2E78 #C7419B #D570B4

Accessibility & contrast

On white

6.78
#9D2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2E78
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E78#FFFFFF#000000##FFFFFF
##9D2E781.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A72D4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e78;
/* rgb */ color: rgb(157, 46, 120);
/* oklch */ color: oklch(49.3% 0.166 344.0);
Tailwind
colors: {
  custom: {
    50: '#be709f',
    500: '#9d2e78',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e78;
$custom-light: #be709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e78",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 320,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.16564,
    "h": 344
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#9D2E78
secondary
#6ABD86
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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