#7E2664#7E2664

#7E2664 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.140 H 341.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7E2664
RGBrgb(126, 38, 100)
HSLhsl(318, 54%, 32%)
HSVhsv(318, 70%, 49%)
CMYKcmyk(0%, 69.8%, 20.6%, 50.6%)
CIE-LABlab(31.21, 44.49, -16.43)
CIE-LCHlch(31.21, 47.42, 339.73°)
OKLaboklab(42.55% 0.133 -0.0441)
OKLCHoklch(42.55% 0.14 341.7)
XYZxyz(11.5979, 6.7431, 12.7449)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2664 #267E40
analogous
#6C267E #7E2664 #7E2638
triadic
#7E2664 #647E26 #26647E
tetradic
#7E2664 #7E6C26 #267E40 #26387E
square
#7E2664 #7E6C26 #267E40 #26387E
split-complementary
#7E2664 #387E26 #267E6C
monochromatic
#200A19 #4F183F #7E2664 #AD3489 #CB53A8

Accessibility & contrast

On white

8.94
#7E2664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2664
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2664#FFFFFF#000000##FFFFFF
##7E26641.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4066
Deuteranopia (green-blind)
#484F62
Tritanopia (blue-blind)
#862741
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2664;
/* rgb */ color: rgb(126, 38, 100);
/* oklch */ color: oklch(42.5% 0.140 341.7);
Tailwind
colors: {
  custom: {
    50: '#a66890',
    500: '#7e2664',
    950: '#000000',
  },
}
SCSS
$custom: #7e2664;
$custom-light: #a66890;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2664",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 317.727,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.14013,
    "h": 341.7
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#7E2664
secondary
#50B06C
accent
#DD764B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2664

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

Preview Lab → · Contrast checker → · Palette generator →

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