#7E205E#7E205E

#7E205E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.144 H 344.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7E205E
RGBrgb(126, 32, 94)
HSLhsl(320, 59%, 31%)
HSVhsv(320, 75%, 49%)
CMYKcmyk(0%, 74.6%, 25.4%, 50.6%)
CIE-LABlab(30.10, 45.98, -14.26)
CIE-LCHlch(30.10, 48.14, 342.77°)
OKLaboklab(41.65% 0.139 -0.0379)
OKLCHoklch(41.65% 0.144 344.7)
XYZxyz(11.1415, 6.2780, 11.2125)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E205E #207E40
analogous
#6F207E #7E205E #7E202F
triadic
#7E205E #5E7E20 #205E7E
tetradic
#7E205E #7E6F20 #207E40 #202F7E
square
#7E205E #7E6F20 #207E40 #202F7E
split-complementary
#7E205E #2F7E20 #207E6F
monochromatic
#1C0715 #4D143A #7E205E #AF2C82 #D048A2

Accessibility & contrast

On white

9.31
#7E205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E205E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E205E#FFFFFF#000000##FFFFFF
##7E205E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#474D5C
Tritanopia (blue-blind)
#871F3C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e205e;
/* rgb */ color: rgb(126, 32, 94);
/* oklch */ color: oklch(41.6% 0.144 344.7);
Tailwind
colors: {
  custom: {
    50: '#a7658b',
    500: '#7e205e',
    950: '#000000',
  },
}
SCSS
$custom: #7e205e;
$custom-light: #a7658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e205e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 320.426,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.14408,
    "h": 344.7
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#7E205E
secondary
#49B16C
accent
#E37B45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E205E

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

Preview Lab → · Contrast checker → · Palette generator →

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