#7C206C#7C206C

#7C206C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.153 H 335.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7C206C
RGBrgb(124, 32, 108)
HSLhsl(310, 59%, 31%)
HSVhsv(310, 74%, 49%)
CMYKcmyk(0%, 74.2%, 12.9%, 51.4%)
CIE-LABlab(30.40, 47.54, -22.85)
CIE-LCHlch(30.40, 52.74, 334.32°)
OKLaboklab(42.02% 0.1392 -0.0623)
OKLCHoklch(42.02% 0.153 335.9)
XYZxyz(11.5356, 6.4018, 14.8126)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C206C #207C30
analogous
#5E207C #7C206C #7C203E
triadic
#7C206C #6C7C20 #206C7C
tetradic
#7C206C #7C5E20 #207C30 #203E7C
square
#7C206C #7C5E20 #207C30 #203E7C
split-complementary
#7C206C #3E7C20 #207C5E
monochromatic
#1B0717 #4B1342 #7C206C #AD2D96 #CF47B8

Accessibility & contrast

On white

9.21
#7C206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C206C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C206C#FFFFFF#000000##FFFFFF
##7C206C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c206c;
/* rgb */ color: rgb(124, 32, 108);
/* oklch */ color: oklch(42.0% 0.153 335.9);
Tailwind
colors: {
  custom: {
    50: '#a56596',
    500: '#7c206c',
    950: '#000000',
  },
}
SCSS
$custom: #7c206c;
$custom-light: #a56596;
$custom-dark: #000000;
JSON
{
  "hex": "#7c206c",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 310.435,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42017,
    "c": 0.15251,
    "h": 335.9
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#7C206C
secondary
#49AF5B
accent
#E26146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C206C

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

Preview Lab → · Contrast checker → · Palette generator →

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