#7E206E#7E206E

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

Color values

HEX#7E206E
RGBrgb(126, 32, 110)
HSLhsl(310, 59%, 31%)
HSVhsv(310, 75%, 49%)
CMYKcmyk(0%, 74.6%, 12.7%, 50.6%)
CIE-LABlab(30.87, 48.37, -23.38)
CIE-LCHlch(30.87, 53.72, 334.20°)
OKLaboklab(42.45% 0.1416 -0.0638)
OKLCHoklch(42.45% 0.155 335.7)
XYZxyz(11.9353, 6.5955, 15.3933)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E206E #207E30
analogous
#5F207E #7E206E #7E203F
triadic
#7E206E #6E7E20 #206E7E
tetradic
#7E206E #7E5F20 #207E30 #203F7E
square
#7E206E #7E5F20 #207E30 #203F7E
split-complementary
#7E206E #3F7E20 #207E5F
monochromatic
#1C0719 #4D1443 #7E206E #AF2C99 #D048B9

Accessibility & contrast

On white

9.06
#7E206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E206E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E206E#FFFFFF#000000##FFFFFF
##7E206E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214070
Deuteranopia (green-blind)
#414E6C
Tritanopia (blue-blind)
#852744
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e206e;
/* rgb */ color: rgb(126, 32, 110);
/* oklch */ color: oklch(42.5% 0.155 335.7);
Tailwind
colors: {
  custom: {
    50: '#a76598',
    500: '#7e206e',
    950: '#000000',
  },
}
SCSS
$custom: #7e206e;
$custom-light: #a76598;
$custom-dark: #000000;
JSON
{
  "hex": "#7e206e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 310.213,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.15526,
    "h": 335.7
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#7E206E
secondary
#49B15B
accent
#E36045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E206E

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

Preview Lab → · Contrast checker → · Palette generator →

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