#7E1663#7E1663

#7E1663 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.158 H 341.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E1663
RGBrgb(126, 22, 99)
HSLhsl(316, 70%, 29%)
HSVhsv(316, 83%, 49%)
CMYKcmyk(0%, 82.5%, 21.4%, 50.6%)
CIE-LABlab(29.19, 49.94, -18.92)
CIE-LCHlch(29.19, 53.40, 339.25°)
OKLaboklab(41.06% 0.1499 -0.051)
OKLCHoklch(41.06% 0.158 341.2)
XYZxyz(11.1436, 5.9115, 12.3561)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1663 #167E31
analogous
#65167E #7E1663 #7E162F
triadic
#7E1663 #637E16 #16637E
tetradic
#7E1663 #7E6516 #167E31 #162F7E
square
#7E1663 #7E6516 #167E31 #162F7E
split-complementary
#7E1663 #2F7E16 #167E65
monochromatic
#1A0514 #4A0D3A #7E1663 #B21F8C #DB33B0

Accessibility & contrast

On white

9.62
#7E1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1663
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1663#FFFFFF#000000##FFFFFF
##7E16631.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#424B61
Tritanopia (blue-blind)
#86193B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1663;
/* rgb */ color: rgb(126, 22, 99);
/* oklch */ color: oklch(41.1% 0.158 341.2);
Tailwind
colors: {
  custom: {
    50: '#a7618f',
    500: '#7e1663',
    950: '#000000',
  },
}
SCSS
$custom: #7e1663;
$custom-light: #a7618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1663",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 315.577,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.15833,
    "h": 341.2
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#7E1663
secondary
#3DB35C
accent
#ED693B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1663

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

Preview Lab → · Contrast checker → · Palette generator →

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