#7E204A#7E204A

#7E204A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.133 H 357.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7E204A
RGBrgb(126, 32, 74)
HSLhsl(333, 59%, 31%)
HSVhsv(333, 75%, 49%)
CMYKcmyk(0%, 74.6%, 41.3%, 50.6%)
CIE-LABlab(29.32, 43.47, -2.29)
CIE-LCHlch(29.32, 43.53, 356.98°)
OKLaboklab(40.82% 0.1334 -0.0055)
OKLCHoklch(40.82% 0.133 357.6)
XYZxyz(10.3574, 5.9643, 7.0830)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E204A #207E54
analogous
#7E2079 #7E204A #7E2520
triadic
#7E204A #4A7E20 #204A7E
tetradic
#7E204A #797E20 #207E54 #25207E
square
#7E204A #797E20 #207E54 #25207E
split-complementary
#7E204A #207E25 #20797E
monochromatic
#1C0711 #4D142D #7E204A #AF2C67 #D04885

Accessibility & contrast

On white

9.58
#7E204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E204A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E204A#FFFFFF#000000##FFFFFF
##7E204A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4B
Deuteranopia (green-blind)
#4D4C48
Tritanopia (blue-blind)
#891432
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e204a;
/* rgb */ color: rgb(126, 32, 74);
/* oklch */ color: oklch(40.8% 0.133 357.6);
Tailwind
colors: {
  custom: {
    50: '#a8647c',
    500: '#7e204a',
    950: '#000000',
  },
}
SCSS
$custom: #7e204a;
$custom-light: #a8647c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e204a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 333.191,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40823,
    "c": 0.13347,
    "h": 357.6
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#7E204A
secondary
#49B182
accent
#E39C45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E204A

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

Preview Lab → · Contrast checker → · Palette generator →

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