#9A2A6D#9A2A6D

#9A2A6D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.162 H 348.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9A2A6D
RGBrgb(154, 42, 109)
HSLhsl(324, 57%, 38%)
HSVhsv(324, 73%, 60%)
CMYKcmyk(0%, 72.7%, 29.2%, 39.6%)
CIE-LABlab(37.17, 52.05, -12.60)
CIE-LCHlch(37.17, 53.55, 346.39°)
OKLaboklab(47.98% 0.1584 -0.0331)
OKLCHoklch(47.98% 0.162 348.2)
XYZxyz(16.9155, 9.6319, 15.4334)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A6D #2A9A57
analogous
#8F2A9A #9A2A6D #9A2A35
triadic
#9A2A6D #6D9A2A #2A6D9A
tetradic
#9A2A6D #9A8F2A #2A9A57 #2A359A
square
#9A2A6D #9A8F2A #2A9A57 #2A359A
split-complementary
#9A2A6D #359A2A #2A9A8F
monochromatic
#3A1029 #6A1D4B #9A2A6D #C9388F #D668AA

Accessibility & contrast

On white

7.18
#9A2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2A6D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A6D#FFFFFF#000000##FFFFFF
##9A2A6D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#A52548
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2a6d;
/* rgb */ color: rgb(154, 42, 109);
/* oklch */ color: oklch(48.0% 0.162 348.2);
Tailwind
colors: {
  custom: {
    50: '#bc6e97',
    500: '#9a2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a6d;
$custom-light: #bc6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a6d",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 324.107,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.16184,
    "h": 348.2
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#9A2A6D
secondary
#63BC87
accent
#E08547
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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