#9A2B79#9A2B79

#9A2B79 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.168 H 342.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9A2B79
RGBrgb(154, 43, 121)
HSLhsl(318, 56%, 39%)
HSVhsv(318, 72%, 60%)
CMYKcmyk(0%, 72.1%, 21.4%, 39.6%)
CIE-LABlab(37.81, 53.29, -19.15)
CIE-LCHlch(37.81, 56.63, 340.23°)
OKLaboklab(48.6% 0.1599 -0.0514)
OKLCHoklch(48.6% 0.168 342.2)
XYZxyz(17.6421, 9.9800, 19.0827)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2B79 #2B9A4C
analogous
#832B9A #9A2B79 #9A2B41
triadic
#9A2B79 #799A2B #2B799A
tetradic
#9A2B79 #9A832B #2B9A4C #2B419A
square
#9A2B79 #9A832B #2B9A4C #2B419A
split-complementary
#9A2B79 #419A2B #2B9A83
monochromatic
#3A102E #6A1E53 #9A2B79 #C83A9E #D56AB5

Accessibility & contrast

On white

7.01
#9A2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A2B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2B79
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2B79#FFFFFF#000000##FFFFFF
##9A2B791.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#576076
Tritanopia (blue-blind)
#A42C4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2b79;
/* rgb */ color: rgb(154, 43, 121);
/* oklch */ color: oklch(48.6% 0.168 342.2);
Tailwind
colors: {
  custom: {
    50: '#bb6ea0',
    500: '#9a2b79',
    950: '#000000',
  },
}
SCSS
$custom: #9a2b79;
$custom-light: #bb6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2b79",
  "rgb": {
    "r": 154,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 317.838,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.16792,
    "h": 342.2
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#9A2B79
secondary
#65BC7F
accent
#E07548
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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