#9A2E76#9A2E76

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

Color values

HEX#9A2E76
RGBrgb(154, 46, 118)
HSLhsl(320, 54%, 39%)
HSVhsv(320, 70%, 60%)
CMYKcmyk(0%, 70.1%, 23.4%, 39.6%)
CIE-LABlab(38.08, 51.74, -16.86)
CIE-LCHlch(38.08, 54.42, 341.95°)
OKLaboklab(48.76% 0.1558 -0.045)
OKLCHoklch(48.76% 0.162 343.9)
XYZxyz(17.5741, 10.1338, 18.1665)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E76 #2E9A52
analogous
#882E9A #9A2E76 #9A2E40
triadic
#9A2E76 #769A2E #2E769A
tetradic
#9A2E76 #9A882E #2E9A52 #2E409A
square
#9A2E76 #9A882E #2E9A52 #2E409A
split-complementary
#9A2E76 #409A2E #2E9A88
monochromatic
#3C122E #6B2052 #9A2E76 #C63F99 #D46FB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A2E76#FFFFFF#000000##FFFFFF
##9A2E761.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)
#394E78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#A42E4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2e76;
/* rgb */ color: rgb(154, 46, 118);
/* oklch */ color: oklch(48.8% 0.162 343.9);
Tailwind
colors: {
  custom: {
    50: '#bb709d',
    500: '#9a2e76',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e76;
$custom-light: #bb709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e76",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 320,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.16217,
    "h": 343.9
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#9A2E76
secondary
#69BB84
accent
#DD7B4A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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