#9D2D79#9D2D79

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

Color values

HEX#9D2D79
RGBrgb(157, 45, 121)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 71.3%, 22.9%, 38.4%)
CIE-LABlab(38.60, 53.35, -17.89)
CIE-LCHlch(38.60, 56.27, 341.46°)
OKLaboklab(49.28% 0.1606 -0.0478)
OKLCHoklch(49.28% 0.168 343.4)
XYZxyz(18.2948, 10.4272, 19.1346)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2D79 #2D9D51
analogous
#892D9D #9D2D79 #9D2D41
triadic
#9D2D79 #799D2D #2D799D
tetradic
#9D2D79 #9D892D #2D9D51 #2D419D
square
#9D2D79 #9D892D #2D9D51 #2D419D
split-complementary
#9D2D79 #419D2D #2D9D89
monochromatic
#3E1230 #6D1F54 #9D2D79 #C83F9C #D66FB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2D79#FFFFFF#000000##FFFFFF
##9D2D791.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)
#384F7B
Deuteranopia (green-blind)
#5A6276
Tritanopia (blue-blind)
#A72D4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2d79;
/* rgb */ color: rgb(157, 45, 121);
/* oklch */ color: oklch(49.3% 0.168 343.4);
Tailwind
colors: {
  custom: {
    50: '#be70a0',
    500: '#9d2d79',
    950: '#000000',
  },
}
SCSS
$custom: #9d2d79;
$custom-light: #be70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2d79",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 319.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.16754,
    "h": 343.4
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#9D2D79
secondary
#69BD84
accent
#DF7949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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