#9A2B74#9A2B74

#9A2B74 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 344.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9A2B74
RGBrgb(154, 43, 116)
HSLhsl(321, 56%, 39%)
HSVhsv(321, 72%, 60%)
CMYKcmyk(0%, 72.1%, 24.7%, 39.6%)
CIE-LABlab(37.59, 52.60, -16.36)
CIE-LCHlch(37.59, 55.09, 342.72°)
OKLaboklab(48.38% 0.1589 -0.0435)
OKLCHoklch(48.38% 0.165 344.7)
XYZxyz(17.3434, 9.8605, 17.5095)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2B74 #2B9A51
analogous
#882B9A #9A2B74 #9A2B3C
triadic
#9A2B74 #749A2B #2B749A
tetradic
#9A2B74 #9A882B #2B9A51 #2B3C9A
square
#9A2B74 #9A882B #2B9A51 #2B3C9A
split-complementary
#9A2B74 #3C9A2B #2B9A88
monochromatic
#3A102C #6A1E50 #9A2B74 #C83A97 #D56AB1

Accessibility & contrast

On white

7.07
#9A2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2B74
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2B74#FFFFFF#000000##FFFFFF
##9A2B741.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A42A4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a2b74;
/* rgb */ color: rgb(154, 43, 116);
/* oklch */ color: oklch(48.4% 0.165 344.7);
Tailwind
colors: {
  custom: {
    50: '#bb6e9c',
    500: '#9a2b74',
    950: '#000000',
  },
}
SCSS
$custom: #9a2b74;
$custom-light: #bb6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2b74",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 320.541,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.16474,
    "h": 344.7
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9A2B74
secondary
#65BC83
accent
#E07C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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