#7C204A#7C204A

#7C204A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.132 H 356.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7C204A
RGBrgb(124, 32, 74)
HSLhsl(333, 59%, 31%)
HSVhsv(333, 74%, 49%)
CMYKcmyk(0%, 74.2%, 40.3%, 51.4%)
CIE-LABlab(28.94, 42.86, -2.91)
CIE-LCHlch(28.94, 42.96, 356.12°)
OKLaboklab(40.47% 0.1315 -0.0071)
OKLCHoklch(40.47% 0.132 356.9)
XYZxyz(10.0654, 5.8138, 7.0694)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C204A #207C52
analogous
#7C2078 #7C204A #7C2420
triadic
#7C204A #4A7C20 #204A7C
tetradic
#7C204A #787C20 #207C52 #24207C
square
#7C204A #787C20 #207C52 #24207C
split-complementary
#7C204A #207C24 #20787C
monochromatic
#1B0710 #4B132D #7C204A #AD2D67 #CF4785

Accessibility & contrast

On white

9.71
#7C204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C204A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C204A#FFFFFF#000000##FFFFFF
##7C204A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394B
Deuteranopia (green-blind)
#4B4A48
Tritanopia (blue-blind)
#861532
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c204a;
/* rgb */ color: rgb(124, 32, 74);
/* oklch */ color: oklch(40.5% 0.132 356.9);
Tailwind
colors: {
  custom: {
    50: '#a6647c',
    500: '#7c204a',
    950: '#000000',
  },
}
SCSS
$custom: #7c204a;
$custom-light: #a6647c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c204a",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 332.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.13165,
    "h": 356.9
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#7C204A
secondary
#49AF80
accent
#E29B46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C204A

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

Preview Lab → · Contrast checker → · Palette generator →

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