#7A204D#7A204D

#7A204D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.131 H 354.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7A204D
RGBrgb(122, 32, 77)
HSLhsl(330, 58%, 30%)
HSVhsv(330, 74%, 48%)
CMYKcmyk(0%, 73.8%, 36.9%, 52.2%)
CIE-LABlab(28.66, 42.61, -5.35)
CIE-LCHlch(28.66, 42.94, 352.85°)
OKLaboklab(40.23% 0.1305 -0.0136)
OKLCHoklch(40.23% 0.131 354.1)
XYZxyz(9.8827, 5.7076, 7.6010)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A204D #207A4D
analogous
#7A207A #7A204D #7A2020
triadic
#7A204D #4D7A20 #204D7A
tetradic
#7A204D #7A7A20 #207A4D #20207A
square
#7A204D #7A7A20 #207A4D #20207A
split-complementary
#7A204D #207A20 #207A7A
monochromatic
#190710 #4A132E #7A204D #AA2D6C #CE468A

Accessibility & contrast

On white

9.81
#7A204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A204D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A204D#FFFFFF#000000##FFFFFF
##7A204D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394E
Deuteranopia (green-blind)
#494A4B
Tritanopia (blue-blind)
#841833
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a204d;
/* rgb */ color: rgb(122, 32, 77);
/* oklch */ color: oklch(40.2% 0.131 354.1);
Tailwind
colors: {
  custom: {
    50: '#a4647e',
    500: '#7a204d',
    950: '#000000',
  },
}
SCSS
$custom: #7a204d;
$custom-light: #a4647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a204d",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 330,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.13122,
    "h": 354.1
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7A204D
secondary
#49AD7B
accent
#E29446
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A204D

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

Preview Lab → · Contrast checker → · Palette generator →

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