#7A216B#7A216B

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

Color values

HEX#7A216B
RGBrgb(122, 33, 107)
HSLhsl(310, 57%, 30%)
HSVhsv(310, 73%, 48%)
CMYKcmyk(0%, 73%, 12.3%, 52.2%)
CIE-LABlab(30.13, 46.48, -22.67)
CIE-LCHlch(30.13, 51.71, 334.00°)
OKLaboklab(41.73% 0.1358 -0.0618)
OKLCHoklch(41.73% 0.149 335.5)
XYZxyz(11.2239, 6.2878, 14.5296)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A216B #217A30
analogous
#5C217A #7A216B #7A213F
triadic
#7A216B #6B7A21 #216B7A
tetradic
#7A216B #7A5C21 #217A30 #213F7A
square
#7A216B #7A5C21 #217A30 #213F7A
split-complementary
#7A216B #3F7A21 #217A5C
monochromatic
#1A0717 #4A1441 #7A216B #AA2E95 #CD48B7

Accessibility & contrast

On white

9.30
#7A216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A216B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A216B#FFFFFF#000000##FFFFFF
##7A216B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#404C69
Tritanopia (blue-blind)
#802743
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a216b;
/* rgb */ color: rgb(122, 33, 107);
/* oklch */ color: oklch(41.7% 0.149 335.5);
Tailwind
colors: {
  custom: {
    50: '#a36595',
    500: '#7a216b',
    950: '#000000',
  },
}
SCSS
$custom: #7a216b;
$custom-light: #a36595;
$custom-dark: #000000;
JSON
{
  "hex": "#7a216b",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 310.112,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.14922,
    "h": 335.5
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#7A216B
secondary
#4AAD5B
accent
#E16147
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A216B

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

Preview Lab → · Contrast checker → · Palette generator →

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