#7E204C#7E204C

#7E204C is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 356.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E204C
RGBrgb(126, 32, 76)
HSLhsl(332, 59%, 31%)
HSVhsv(332, 75%, 49%)
CMYKcmyk(0%, 74.6%, 39.7%, 50.6%)
CIE-LABlab(29.39, 43.69, -3.52)
CIE-LCHlch(29.39, 43.84, 355.40°)
OKLaboklab(40.9% 0.134 -0.0087)
OKLCHoklch(40.9% 0.134 356.3)
XYZxyz(10.4259, 5.9917, 7.4436)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E204C #207E52
analogous
#7E207B #7E204C #7E2320
triadic
#7E204C #4C7E20 #204C7E
tetradic
#7E204C #7B7E20 #207E52 #23207E
square
#7E204C #7B7E20 #207E52 #23207E
split-complementary
#7E204C #207E23 #207B7E
monochromatic
#1C0711 #4D142F #7E204C #AF2C69 #D04888

Accessibility & contrast

On white

9.55
#7E204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E204C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E204C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E204C#FFFFFF#000000##FFFFFF
##7E204C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4D
Deuteranopia (green-blind)
#4C4C4A
Tritanopia (blue-blind)
#881533
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e204c;
/* rgb */ color: rgb(126, 32, 76);
/* oklch */ color: oklch(40.9% 0.134 356.3);
Tailwind
colors: {
  custom: {
    50: '#a8647e',
    500: '#7e204c',
    950: '#000000',
  },
}
SCSS
$custom: #7e204c;
$custom-light: #a8647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e204c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 331.915,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.13431,
    "h": 356.3
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#7E204C
secondary
#49B180
accent
#E39945
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E204C

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

Preview Lab → · Contrast checker → · Palette generator →

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