#7A2052#7A2052

#7A2052 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 350.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7A2052
RGBrgb(122, 32, 82)
HSLhsl(327, 58%, 30%)
HSVhsv(327, 74%, 48%)
CMYKcmyk(0%, 73.8%, 32.8%, 52.2%)
CIE-LABlab(28.85, 43.23, -8.37)
CIE-LCHlch(28.85, 44.03, 349.05°)
OKLaboklab(40.43% 0.132 -0.0217)
OKLCHoklch(40.43% 0.134 350.6)
XYZxyz(10.0661, 5.7809, 8.5667)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2052 #207A48
analogous
#75207A #7A2052 #7A2025
triadic
#7A2052 #527A20 #20527A
tetradic
#7A2052 #7A7520 #207A48 #20257A
square
#7A2052 #7A7520 #207A48 #20257A
split-complementary
#7A2052 #257A20 #207A75
monochromatic
#190711 #4A1331 #7A2052 #AA2D73 #CE4692

Accessibility & contrast

On white

9.74
#7A2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2052
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2052#FFFFFF#000000##FFFFFF
##7A20521.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#831A36
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2052;
/* rgb */ color: rgb(122, 32, 82);
/* oklch */ color: oklch(40.4% 0.134 350.6);
Tailwind
colors: {
  custom: {
    50: '#a46482',
    500: '#7a2052',
    950: '#000000',
  },
}
SCSS
$custom: #7a2052;
$custom-light: #a46482;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2052",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 326.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.13379,
    "h": 350.6
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7A2052
secondary
#49AD75
accent
#E28B46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A2052

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

Preview Lab → · Contrast checker → · Palette generator →

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