#7C204C#7C204C

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

Color values

HEX#7C204C
RGBrgb(124, 32, 76)
HSLhsl(331, 59%, 31%)
HSVhsv(331, 74%, 49%)
CMYKcmyk(0%, 74.2%, 38.7%, 51.4%)
CIE-LABlab(29.01, 43.09, -4.13)
CIE-LCHlch(29.01, 43.29, 354.53°)
OKLaboklab(40.54% 0.1321 -0.0103)
OKLCHoklch(40.54% 0.133 355.5)
XYZxyz(10.1338, 5.8411, 7.4299)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C204C #207C50
analogous
#7C207A #7C204C #7C2220
triadic
#7C204C #4C7C20 #204C7C
tetradic
#7C204C #7A7C20 #207C50 #22207C
square
#7C204C #7A7C20 #207C50 #22207C
split-complementary
#7C204C #207C22 #207A7C
monochromatic
#1B0710 #4B132E #7C204C #AD2D6A #CF4788

Accessibility & contrast

On white

9.69
#7C204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C204C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C204C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C204C#FFFFFF#000000##FFFFFF
##7C204C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394D
Deuteranopia (green-blind)
#4B4B4A
Tritanopia (blue-blind)
#861733
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c204c;
/* rgb */ color: rgb(124, 32, 76);
/* oklch */ color: oklch(40.5% 0.133 355.5);
Tailwind
colors: {
  custom: {
    50: '#a6647e',
    500: '#7c204c',
    950: '#000000',
  },
}
SCSS
$custom: #7c204c;
$custom-light: #a6647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c204c",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 331.304,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.13252,
    "h": 355.5
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#7C204C
secondary
#49AF7E
accent
#E29746
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C204C

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

Preview Lab → · Contrast checker → · Palette generator →

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