#7E204E#7E204E

#7E204E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.135 H 354.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E204E
RGBrgb(126, 32, 78)
HSLhsl(331, 59%, 31%)
HSVhsv(331, 75%, 49%)
CMYKcmyk(0%, 74.6%, 38.1%, 50.6%)
CIE-LABlab(29.46, 43.93, -4.73)
CIE-LCHlch(29.46, 44.18, 353.85°)
OKLaboklab(40.97% 0.1347 -0.0119)
OKLCHoklch(40.97% 0.135 354.9)
XYZxyz(10.4965, 6.0200, 7.8155)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E204E #207E50
analogous
#7E207D #7E204E #7E2120
triadic
#7E204E #4E7E20 #204E7E
tetradic
#7E204E #7D7E20 #207E50 #21207E
square
#7E204E #7D7E20 #207E50 #21207E
split-complementary
#7E204E #207E21 #207D7E
monochromatic
#1C0712 #4D1430 #7E204E #AF2C6C #D0488B

Accessibility & contrast

On white

9.53
#7E204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E204E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E204E#FFFFFF#000000##FFFFFF
##7E204E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#881734
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e204e;
/* rgb */ color: rgb(126, 32, 78);
/* oklch */ color: oklch(41.0% 0.135 354.9);
Tailwind
colors: {
  custom: {
    50: '#a7647f',
    500: '#7e204e',
    950: '#000000',
  },
}
SCSS
$custom: #7e204e;
$custom-light: #a7647f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e204e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 330.638,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.13521,
    "h": 354.9
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7E204E
secondary
#49B17E
accent
#E39645
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E204E

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

Preview Lab → · Contrast checker → · Palette generator →

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