#9A2D77#9A2D77

#9A2D77 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.164 H 343.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9A2D77
RGBrgb(154, 45, 119)
HSLhsl(319, 55%, 39%)
HSVhsv(319, 71%, 60%)
CMYKcmyk(0%, 70.8%, 22.7%, 39.6%)
CIE-LABlab(37.99, 52.26, -17.63)
CIE-LCHlch(37.99, 55.16, 341.36°)
OKLaboklab(48.71% 0.1572 -0.0471)
OKLCHoklch(48.71% 0.164 343.3)
XYZxyz(17.5952, 10.0805, 18.4683)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D77 #2D9A50
analogous
#872D9A #9A2D77 #9A2D41
triadic
#9A2D77 #779A2D #2D779A
tetradic
#9A2D77 #9A872D #2D9A50 #2D419A
square
#9A2D77 #9A872D #2D9A50 #2D419A
split-complementary
#9A2D77 #419A2D #2D9A87
monochromatic
#3B112E #6B1F52 #9A2D77 #C73E9B #D46DB3

Accessibility & contrast

On white

6.96
#9A2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A2D77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D77
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D77#FFFFFF#000000##FFFFFF
##9A2D771.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#A42D4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2d77;
/* rgb */ color: rgb(154, 45, 119);
/* oklch */ color: oklch(48.7% 0.164 343.3);
Tailwind
colors: {
  custom: {
    50: '#bb6f9e',
    500: '#9a2d77',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d77;
$custom-light: #bb6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d77",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 319.266,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.16411,
    "h": 343.3
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#9A2D77
secondary
#67BB82
accent
#DE794A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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