#7A204E#7A204E

#7A204E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.132 H 353.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7A204E
RGBrgb(122, 32, 78)
HSLhsl(329, 58%, 30%)
HSVhsv(329, 74%, 48%)
CMYKcmyk(0%, 73.8%, 36.1%, 52.2%)
CIE-LABlab(28.70, 42.73, -5.95)
CIE-LCHlch(28.70, 43.14, 352.07°)
OKLaboklab(40.27% 0.1308 -0.0152)
OKLCHoklch(40.27% 0.132 353.4)
XYZxyz(9.9183, 5.7218, 7.7884)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A204E #207A4C
analogous
#79207A #7A204E #7A2021
triadic
#7A204E #4E7A20 #204E7A
tetradic
#7A204E #7A7920 #207A4C #20217A
square
#7A204E #7A7920 #207A4C #20217A
split-complementary
#7A204E #217A20 #207A79
monochromatic
#190710 #4A132F #7A204E #AA2D6D #CE468C

Accessibility & contrast

On white

9.79
#7A204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A204E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A204E#FFFFFF#000000##FFFFFF
##7A204E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#841934
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a204e;
/* rgb */ color: rgb(122, 32, 78);
/* oklch */ color: oklch(40.3% 0.132 353.4);
Tailwind
colors: {
  custom: {
    50: '#a4647f',
    500: '#7a204e',
    950: '#000000',
  },
}
SCSS
$custom: #7a204e;
$custom-light: #a4647f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a204e",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 329.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.1317,
    "h": 353.4
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#7A204E
secondary
#49AD7A
accent
#E29246
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A204E

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

Preview Lab → · Contrast checker → · Palette generator →

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