#9A2D76#9A2D76

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

Color values

HEX#9A2D76
RGBrgb(154, 45, 118)
HSLhsl(320, 55%, 39%)
HSVhsv(320, 71%, 60%)
CMYKcmyk(0%, 70.8%, 23.4%, 39.6%)
CIE-LABlab(37.94, 52.12, -17.07)
CIE-LCHlch(37.94, 54.85, 341.87°)
OKLaboklab(48.66% 0.157 -0.0455)
OKLCHoklch(48.66% 0.163 343.8)
XYZxyz(17.5355, 10.0566, 18.1536)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2D76 #2D9A51
analogous
#882D9A #9A2D76 #9A2D3F
triadic
#9A2D76 #769A2D #2D769A
tetradic
#9A2D76 #9A882D #2D9A51 #2D3F9A
square
#9A2D76 #9A882D #2D9A51 #2D3F9A
split-complementary
#9A2D76 #3F9A2D #2D9A88
monochromatic
#3B112D #6B1F52 #9A2D76 #C73E99 #D46DB2

Accessibility & contrast

On white

6.97
#9A2D76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A2D76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2D76
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2D76#FFFFFF#000000##FFFFFF
##9A2D761.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#A42D4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2d76;
/* rgb */ color: rgb(154, 45, 118);
/* oklch */ color: oklch(48.7% 0.163 343.8);
Tailwind
colors: {
  custom: {
    50: '#bb6f9d',
    500: '#9a2d76',
    950: '#000000',
  },
}
SCSS
$custom: #9a2d76;
$custom-light: #bb6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2d76",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 319.817,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.16346,
    "h": 343.8
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#9A2D76
secondary
#67BB83
accent
#DE7B4A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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