#9A2A66#9A2A66

#9A2A66 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.158 H 351.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9A2A66
RGBrgb(154, 42, 102)
HSLhsl(328, 57%, 38%)
HSVhsv(328, 73%, 60%)
CMYKcmyk(0%, 72.7%, 33.8%, 39.6%)
CIE-LABlab(36.91, 51.18, -8.58)
CIE-LCHlch(36.91, 51.90, 350.48°)
OKLaboklab(47.7% 0.1566 -0.0221)
OKLCHoklch(47.7% 0.158 351.9)
XYZxyz(16.5536, 9.4872, 13.5273)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A66 #2A9A5E
analogous
#962A9A #9A2A66 #9A2A2E
triadic
#9A2A66 #669A2A #2A669A
tetradic
#9A2A66 #9A962A #2A9A5E #2A2E9A
square
#9A2A66 #9A962A #2A9A5E #2A2E9A
split-complementary
#9A2A66 #2E9A2A #2A9A96
monochromatic
#3A1026 #6A1D46 #9A2A66 #C93886 #D668A3

Accessibility & contrast

On white

7.25
#9A2A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A2A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2A66
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A66#FFFFFF#000000##FFFFFF
##9A2A661.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4A68
Deuteranopia (green-blind)
#5D5E63
Tritanopia (blue-blind)
#A62244
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2a66;
/* rgb */ color: rgb(154, 42, 102);
/* oklch */ color: oklch(47.7% 0.158 351.9);
Tailwind
colors: {
  custom: {
    50: '#bc6d91',
    500: '#9a2a66',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a66;
$custom-light: #bc6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a66",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 327.857,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.15812,
    "h": 351.9
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#9A2A66
secondary
#63BC8D
accent
#E08E47
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #9A2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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