#9A2D79#9A2D79

#9A2D79 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.165 H 342.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9A2D79
RGBrgb(154, 45, 121)
HSLhsl(318, 55%, 39%)
HSVhsv(318, 71%, 60%)
CMYKcmyk(0%, 70.8%, 21.4%, 39.6%)
CIE-LABlab(38.07, 52.54, -18.74)
CIE-LCHlch(38.07, 55.79, 340.37°)
OKLaboklab(48.8% 0.1576 -0.0502)
OKLCHoklch(48.8% 0.165 342.3)
XYZxyz(17.7166, 10.1290, 19.1075)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D79 #2D9A4E
analogous
#852D9A #9A2D79 #9A2D43
triadic
#9A2D79 #799A2D #2D799A
tetradic
#9A2D79 #9A852D #2D9A4E #2D439A
square
#9A2D79 #9A852D #2D9A4E #2D439A
split-complementary
#9A2D79 #439A2D #2D9A85
monochromatic
#3B112F #6B1F54 #9A2D79 #C73E9D #D46DB5

Accessibility & contrast

On white

6.94
#9A2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A2D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D79
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D79#FFFFFF#000000##FFFFFF
##9A2D791.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A42E4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2d79;
/* rgb */ color: rgb(154, 45, 121);
/* oklch */ color: oklch(48.8% 0.165 342.3);
Tailwind
colors: {
  custom: {
    50: '#bb6fa0',
    500: '#9a2d79',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d79;
$custom-light: #bb6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d79",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 318.165,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.1654,
    "h": 342.3
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#9A2D79
secondary
#67BB81
accent
#DE774A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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