#7E2764#7E2764

#7E2764 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.139 H 341.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7E2764
RGBrgb(126, 39, 100)
HSLhsl(318, 53%, 32%)
HSVhsv(318, 69%, 49%)
CMYKcmyk(0%, 69%, 20.6%, 50.6%)
CIE-LABlab(31.37, 44.07, -16.20)
CIE-LCHlch(31.37, 46.95, 339.82°)
OKLaboklab(42.66% 0.1317 -0.0434)
OKLCHoklch(42.66% 0.139 341.8)
XYZxyz(11.6303, 6.8079, 12.7557)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2764 #277E41
analogous
#6D277E #7E2764 #7E2739
triadic
#7E2764 #647E27 #27647E
tetradic
#7E2764 #7E6D27 #277E41 #27397E
square
#7E2764 #7E6D27 #277E41 #27397E
split-complementary
#7E2764 #397E27 #277E6D
monochromatic
#210A1A #4F193F #7E2764 #AD3589 #CA55A7

Accessibility & contrast

On white

8.89
#7E2764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E2764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2764
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2764#FFFFFF#000000##FFFFFF
##7E27641.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#484F62
Tritanopia (blue-blind)
#862842
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2764;
/* rgb */ color: rgb(126, 39, 100);
/* oklch */ color: oklch(42.7% 0.139 341.8);
Tailwind
colors: {
  custom: {
    50: '#a66890',
    500: '#7e2764',
    950: '#000000',
  },
}
SCSS
$custom: #7e2764;
$custom-light: #a66890;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2764",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 100
  },
  "hsl": {
    "h": 317.931,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.13872,
    "h": 341.8
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#7E2764
secondary
#52AF6E
accent
#DC774C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2764

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

Preview Lab → · Contrast checker → · Palette generator →

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