#7E206D#7E206D

#7E206D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 336.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7E206D
RGBrgb(126, 32, 109)
HSLhsl(311, 59%, 31%)
HSVhsv(311, 75%, 49%)
CMYKcmyk(0%, 74.6%, 13.5%, 50.6%)
CIE-LABlab(30.82, 48.21, -22.82)
CIE-LCHlch(30.82, 53.34, 334.67°)
OKLaboklab(42.4% 0.1415 -0.0622)
OKLCHoklch(42.4% 0.155 336.3)
XYZxyz(11.8812, 6.5738, 15.1082)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E206D #207E31
analogous
#60207E #7E206D #7E203E
triadic
#7E206D #6D7E20 #206D7E
tetradic
#7E206D #7E6020 #207E31 #203E7E
square
#7E206D #7E6020 #207E31 #203E7E
split-complementary
#7E206D #3E7E20 #207E60
monochromatic
#1C0719 #4D1443 #7E206D #AF2C97 #D048B8

Accessibility & contrast

On white

9.07
#7E206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E206D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E206D#FFFFFF#000000##FFFFFF
##7E206D1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#852644
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e206d;
/* rgb */ color: rgb(126, 32, 109);
/* oklch */ color: oklch(42.4% 0.155 336.3);
Tailwind
colors: {
  custom: {
    50: '#a76597',
    500: '#7e206d',
    950: '#000000',
  },
}
SCSS
$custom: #7e206d;
$custom-light: #a76597;
$custom-dark: #000000;
JSON
{
  "hex": "#7e206d",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 310.851,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.424,
    "c": 0.15451,
    "h": 336.3
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#7E206D
secondary
#49B15C
accent
#E36245
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E206D

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

Preview Lab → · Contrast checker → · Palette generator →

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