#7A216A#7A216A

#7A216A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 336.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7A216A
RGBrgb(122, 33, 106)
HSLhsl(311, 57%, 30%)
HSVhsv(311, 73%, 48%)
CMYKcmyk(0%, 73%, 13.1%, 52.2%)
CIE-LABlab(30.08, 46.32, -22.11)
CIE-LCHlch(30.08, 51.33, 334.48°)
OKLaboklab(41.68% 0.1357 -0.0602)
OKLCHoklch(41.68% 0.148 336.1)
XYZxyz(11.1716, 6.2669, 14.2541)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A216A #217A31
analogous
#5E217A #7A216A #7A213D
triadic
#7A216A #6A7A21 #216A7A
tetradic
#7A216A #7A5E21 #217A31 #213D7A
square
#7A216A #7A5E21 #217A31 #213D7A
split-complementary
#7A216A #3D7A21 #217A5E
monochromatic
#1A0716 #4A1440 #7A216A #AA2E94 #CD48B5

Accessibility & contrast

On white

9.32
#7A216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A216A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A216A#FFFFFF#000000##FFFFFF
##7A216A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#404C68
Tritanopia (blue-blind)
#802742
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a216a;
/* rgb */ color: rgb(122, 33, 106);
/* oklch */ color: oklch(41.7% 0.148 336.1);
Tailwind
colors: {
  custom: {
    50: '#a36595',
    500: '#7a216a',
    950: '#000000',
  },
}
SCSS
$custom: #7a216a;
$custom-light: #a36595;
$custom-dark: #000000;
JSON
{
  "hex": "#7a216a",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 310.787,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.14846,
    "h": 336.1
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#7A216A
secondary
#4AAD5C
accent
#E16347
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A216A

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

Preview Lab → · Contrast checker → · Palette generator →

#7A216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva