#9D2E79#9D2E79

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

Color values

HEX#9D2E79
RGBrgb(157, 46, 121)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 70.7%, 22.9%, 38.4%)
CIE-LABlab(38.73, 52.98, -17.68)
CIE-LCHlch(38.73, 55.85, 341.54°)
OKLaboklab(49.38% 0.1594 -0.0472)
OKLCHoklch(49.38% 0.166 343.5)
XYZxyz(18.3335, 10.5044, 19.1475)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E79 #2E9D52
analogous
#892E9D #9D2E79 #9D2E42
triadic
#9D2E79 #799D2E #2E799D
tetradic
#9D2E79 #9D892E #2E9D52 #2E429D
square
#9D2E79 #9D892E #2E9D52 #2E429D
split-complementary
#9D2E79 #429D2E #2E9D89
monochromatic
#3E1230 #6E2055 #9D2E79 #C7419C #D570B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2E79#FFFFFF#000000##FFFFFF
##9D2E791.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)
#394F7B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#A72E4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e79;
/* rgb */ color: rgb(157, 46, 121);
/* oklch */ color: oklch(49.4% 0.166 343.5);
Tailwind
colors: {
  custom: {
    50: '#bd70a0',
    500: '#9d2e79',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e79;
$custom-light: #bd70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e79",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 319.459,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.16627,
    "h": 343.5
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#9D2E79
secondary
#6ABD85
accent
#DE7A4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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