#7E204D#7E204D

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

Color values

HEX#7E204D
RGBrgb(126, 32, 77)
HSLhsl(331, 59%, 31%)
HSVhsv(331, 75%, 49%)
CMYKcmyk(0%, 74.6%, 38.9%, 50.6%)
CIE-LABlab(29.43, 43.81, -4.13)
CIE-LCHlch(29.43, 44.00, 354.62°)
OKLaboklab(40.93% 0.1344 -0.0103)
OKLCHoklch(40.93% 0.135 355.6)
XYZxyz(10.4609, 6.0057, 7.6281)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E204D #207E51
analogous
#7E207C #7E204D #7E2220
triadic
#7E204D #4D7E20 #204D7E
tetradic
#7E204D #7C7E20 #207E51 #22207E
square
#7E204D #7C7E20 #207E51 #22207E
split-complementary
#7E204D #207E22 #207C7E
monochromatic
#1C0711 #4D142F #7E204D #AF2C6B #D04889

Accessibility & contrast

On white

9.54
#7E204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E204D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E204D#FFFFFF#000000##FFFFFF
##7E204D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4E
Deuteranopia (green-blind)
#4C4C4B
Tritanopia (blue-blind)
#881633
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e204d;
/* rgb */ color: rgb(126, 32, 77);
/* oklch */ color: oklch(40.9% 0.135 355.6);
Tailwind
colors: {
  custom: {
    50: '#a7647e',
    500: '#7e204d',
    950: '#000000',
  },
}
SCSS
$custom: #7e204d;
$custom-light: #a7647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e204d",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 331.277,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40934,
    "c": 0.13476,
    "h": 355.6
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#7E204D
secondary
#49B17F
accent
#E39745
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E204D

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

Preview Lab → · Contrast checker → · Palette generator →

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