#7D206C#7D206C

#7D206C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.153 H 336.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7D206C
RGBrgb(125, 32, 108)
HSLhsl(311, 59%, 31%)
HSVhsv(311, 74%, 49%)
CMYKcmyk(0%, 74.4%, 13.6%, 51%)
CIE-LABlab(30.58, 47.79, -22.56)
CIE-LCHlch(30.58, 52.85, 334.73°)
OKLaboklab(42.18% 0.1403 -0.0614)
OKLCHoklch(42.18% 0.153 336.3)
XYZxyz(11.6809, 6.4768, 14.8194)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D206C #207D31
analogous
#5F207D #7D206C #7D203D
triadic
#7D206C #6C7D20 #206C7D
tetradic
#7D206C #7D5F20 #207D31 #203D7D
square
#7D206C #7D5F20 #207D31 #203D7D
split-complementary
#7D206C #3D7D20 #207D5F
monochromatic
#1C0718 #4C1442 #7D206C #AE2C96 #D047B7

Accessibility & contrast

On white

9.15
#7D206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D206C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D206C#FFFFFF#000000##FFFFFF
##7D206C1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#414D6A
Tritanopia (blue-blind)
#842643
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d206c;
/* rgb */ color: rgb(125, 32, 108);
/* oklch */ color: oklch(42.2% 0.153 336.3);
Tailwind
colors: {
  custom: {
    50: '#a66596',
    500: '#7d206c',
    950: '#000000',
  },
}
SCSS
$custom: #7d206c;
$custom-light: #a66596;
$custom-dark: #000000;
JSON
{
  "hex": "#7d206c",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 310.968,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.15313,
    "h": 336.3
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#7D206C
secondary
#49B05C
accent
#E26245
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D206C

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

Preview Lab → · Contrast checker → · Palette generator →

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