#7E204F#7E204F

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

Color values

HEX#7E204F
RGBrgb(126, 32, 79)
HSLhsl(330, 59%, 31%)
HSVhsv(330, 75%, 49%)
CMYKcmyk(0%, 74.6%, 37.3%, 50.6%)
CIE-LABlab(29.50, 44.04, -5.34)
CIE-LCHlch(29.50, 44.37, 353.09°)
OKLaboklab(41.01% 0.135 -0.0135)
OKLCHoklch(41.01% 0.136 354.3)
XYZxyz(10.5326, 6.0344, 8.0057)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E204F #207E4F
analogous
#7E207E #7E204F #7E2020
triadic
#7E204F #4F7E20 #204F7E
tetradic
#7E204F #7E7E20 #207E4F #20207E
square
#7E204F #7E7E20 #207E4F #20207E
split-complementary
#7E204F #207E20 #207E7E
monochromatic
#1C0712 #4D1430 #7E204F #AF2C6E #D0488C

Accessibility & contrast

On white

9.52
#7E204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E204F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E204F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E204F#FFFFFF#000000##FFFFFF
##7E204F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A50
Deuteranopia (green-blind)
#4B4C4D
Tritanopia (blue-blind)
#881734
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e204f;
/* rgb */ color: rgb(126, 32, 79);
/* oklch */ color: oklch(41.0% 0.136 354.3);
Tailwind
colors: {
  custom: {
    50: '#a76480',
    500: '#7e204f',
    950: '#000000',
  },
}
SCSS
$custom: #7e204f;
$custom-light: #a76480;
$custom-dark: #000000;
JSON
{
  "hex": "#7e204f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 330,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41011,
    "c": 0.13568,
    "h": 354.3
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#7E204F
secondary
#49B17D
accent
#E39445
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E204F

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

Preview Lab → · Contrast checker → · Palette generator →

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