#9A2079#9A2079

#9A2079 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.180 H 341.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9A2079
RGBrgb(154, 32, 121)
HSLhsl(316, 66%, 36%)
HSVhsv(316, 79%, 60%)
CMYKcmyk(0%, 79.2%, 21.4%, 39.6%)
CIE-LABlab(36.53, 56.92, -21.13)
CIE-LCHlch(36.53, 60.71, 339.63°)
OKLaboklab(47.68% 0.171 -0.0569)
OKLCHoklch(47.68% 0.18 341.6)
XYZxyz(17.2947, 9.2853, 18.9669)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2079 #209A41
analogous
#7E209A #9A2079 #9A203C
triadic
#9A2079 #799A20 #20799A
tetradic
#9A2079 #9A7E20 #209A41 #203C9A
square
#9A2079 #9A7E20 #209A41 #203C9A
split-complementary
#9A2079 #3C9A20 #209A7E
monochromatic
#350B29 #671551 #9A2079 #CD2BA1 #DC58B9

Accessibility & contrast

On white

7.35
#9A2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9A2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2079
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2079#FFFFFF#000000##FFFFFF
##9A20791.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#535D76
Tritanopia (blue-blind)
#A4224B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2079;
/* rgb */ color: rgb(154, 32, 121);
/* oklch */ color: oklch(47.7% 0.180 341.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aa0',
    500: '#9a2079',
    950: '#000000',
  },
}
SCSS
$custom: #9a2079;
$custom-light: #bc6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2079",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 316.23,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.18017,
    "h": 341.6
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#9A2079
secondary
#56C072
accent
#E96D3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2079

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

Preview Lab → · Contrast checker → · Palette generator →

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