#7E206C#7E206C

#7E206C is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.154 H 336.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7E206C
RGBrgb(126, 32, 108)
HSLhsl(311, 59%, 31%)
HSVhsv(311, 75%, 49%)
CMYKcmyk(0%, 74.6%, 14.3%, 50.6%)
CIE-LABlab(30.77, 48.05, -22.26)
CIE-LCHlch(30.77, 52.96, 335.14°)
OKLaboklab(42.35% 0.1413 -0.0606)
OKLCHoklch(42.35% 0.154 336.8)
XYZxyz(11.8277, 6.5524, 14.8263)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E206C #207E32
analogous
#61207E #7E206C #7E203D
triadic
#7E206C #6C7E20 #206C7E
tetradic
#7E206C #7E6120 #207E32 #203D7E
square
#7E206C #7E6120 #207E32 #203D7E
split-complementary
#7E206C #3D7E20 #207E61
monochromatic
#1C0718 #4D1442 #7E206C #AF2C96 #D048B6

Accessibility & contrast

On white

9.09
#7E206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E206C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E206C#FFFFFF#000000##FFFFFF
##7E206C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#424E6A
Tritanopia (blue-blind)
#852643
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e206c;
/* rgb */ color: rgb(126, 32, 108);
/* oklch */ color: oklch(42.3% 0.154 336.8);
Tailwind
colors: {
  custom: {
    50: '#a76596',
    500: '#7e206c',
    950: '#000000',
  },
}
SCSS
$custom: #7e206c;
$custom-light: #a76596;
$custom-dark: #000000;
JSON
{
  "hex": "#7e206c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 311.489,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.15376,
    "h": 336.8
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#7E206C
secondary
#49B15D
accent
#E36345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E206C

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

Preview Lab → · Contrast checker → · Palette generator →

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