#7D204E#7D204E

#7D204E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.134 H 354.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7D204E
RGBrgb(125, 32, 78)
HSLhsl(330, 59%, 31%)
HSVhsv(330, 74%, 49%)
CMYKcmyk(0%, 74.4%, 37.6%, 51%)
CIE-LABlab(29.27, 43.63, -5.04)
CIE-LCHlch(29.27, 43.92, 353.41°)
OKLaboklab(40.8% 0.1337 -0.0127)
OKLCHoklch(40.8% 0.134 354.6)
XYZxyz(10.3498, 5.9443, 7.8086)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D204E #207D4F
analogous
#7D207C #7D204E #7D2120
triadic
#7D204E #4E7D20 #204E7D
tetradic
#7D204E #7C7D20 #207D4F #21207D
square
#7D204E #7C7D20 #207D4F #21207D
split-complementary
#7D204E #207D21 #207C7D
monochromatic
#1C0711 #4C1430 #7D204E #AE2C6C #D0478B

Accessibility & contrast

On white

9.60
#7D204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D204E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D204E#FFFFFF#000000##FFFFFF
##7D204E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#871734
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d204e;
/* rgb */ color: rgb(125, 32, 78);
/* oklch */ color: oklch(40.8% 0.134 354.6);
Tailwind
colors: {
  custom: {
    50: '#a7647f',
    500: '#7d204e',
    950: '#000000',
  },
}
SCSS
$custom: #7d204e;
$custom-light: #a7647f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d204e",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 330.323,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.13434,
    "h": 354.6
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#7D204E
secondary
#49B07D
accent
#E29545
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D204E

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

Preview Lab → · Contrast checker → · Palette generator →

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