#7A204C#7A204C

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

Color values

HEX#7A204C
RGBrgb(122, 32, 76)
HSLhsl(331, 58%, 30%)
HSVhsv(331, 74%, 48%)
CMYKcmyk(0%, 73.8%, 37.7%, 52.2%)
CIE-LABlab(28.63, 42.49, -4.74)
CIE-LCHlch(28.63, 42.75, 353.64°)
OKLaboklab(40.19% 0.1302 -0.012)
OKLCHoklch(40.19% 0.131 354.7)
XYZxyz(9.8477, 5.6936, 7.4165)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A204C #207A4E
analogous
#7A2079 #7A204C #7A2120
triadic
#7A204C #4C7A20 #204C7A
tetradic
#7A204C #797A20 #207A4E #21207A
square
#7A204C #797A20 #207A4E #21207A
split-complementary
#7A204C #207A21 #20797A
monochromatic
#190710 #4A132E #7A204C #AA2D6A #CE4689

Accessibility & contrast

On white

9.82
#7A204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A204C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A204C#FFFFFF#000000##FFFFFF
##7A204C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394D
Deuteranopia (green-blind)
#494A4A
Tritanopia (blue-blind)
#841833
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a204c;
/* rgb */ color: rgb(122, 32, 76);
/* oklch */ color: oklch(40.2% 0.131 354.7);
Tailwind
colors: {
  custom: {
    50: '#a4647e',
    500: '#7a204c',
    950: '#000000',
  },
}
SCSS
$custom: #7a204c;
$custom-light: #a4647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a204c",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 330.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.13074,
    "h": 354.7
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#7A204C
secondary
#49AD7C
accent
#E29646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A204C

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

Preview Lab → · Contrast checker → · Palette generator →

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