#9A2A6E#9A2A6E

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

Color values

HEX#9A2A6E
RGBrgb(154, 42, 110)
HSLhsl(324, 57%, 38%)
HSVhsv(324, 73%, 60%)
CMYKcmyk(0%, 72.7%, 28.6%, 39.6%)
CIE-LABlab(37.21, 52.18, -13.17)
CIE-LCHlch(37.21, 53.81, 345.83°)
OKLaboklab(48.02% 0.1587 -0.0347)
OKLCHoklch(48.02% 0.162 347.7)
XYZxyz(16.9697, 9.6536, 15.7185)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A6E #2A9A56
analogous
#8E2A9A #9A2A6E #9A2A36
triadic
#9A2A6E #6E9A2A #2A6E9A
tetradic
#9A2A6E #9A8E2A #2A9A56 #2A369A
square
#9A2A6E #9A8E2A #2A9A56 #2A369A
split-complementary
#9A2A6E #369A2A #2A9A8E
monochromatic
#3A1029 #6A1D4C #9A2A6E #C93890 #D668AB

Accessibility & contrast

On white

7.17
#9A2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2A6E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A6E#FFFFFF#000000##FFFFFF
##9A2A6E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B70
Deuteranopia (green-blind)
#5A5F6B
Tritanopia (blue-blind)
#A52648
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2a6e;
/* rgb */ color: rgb(154, 42, 110);
/* oklch */ color: oklch(48.0% 0.162 347.7);
Tailwind
colors: {
  custom: {
    50: '#bc6e97',
    500: '#9a2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a6e;
$custom-light: #bc6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a6e",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 323.571,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.16241,
    "h": 347.7
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#9A2A6E
secondary
#63BC86
accent
#E08447
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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