#7E1664#7E1664

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

Color values

HEX#7E1664
RGBrgb(126, 22, 100)
HSLhsl(315, 70%, 29%)
HSVhsv(315, 83%, 49%)
CMYKcmyk(0%, 82.5%, 20.6%, 50.6%)
CIE-LABlab(29.24, 50.08, -19.49)
CIE-LCHlch(29.24, 53.74, 338.73°)
OKLaboklab(41.11% 0.15 -0.0526)
OKLCHoklch(41.11% 0.159 340.7)
XYZxyz(11.1917, 5.9307, 12.6095)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1664 #167E30
analogous
#64167E #7E1664 #7E1630
triadic
#7E1664 #647E16 #16647E
tetradic
#7E1664 #7E6416 #167E30 #16307E
square
#7E1664 #7E6416 #167E30 #16307E
split-complementary
#7E1664 #307E16 #167E64
monochromatic
#1A0515 #4A0D3B #7E1664 #B21F8D #DB33B1

Accessibility & contrast

On white

9.61
#7E1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1664
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1664#FFFFFF#000000##FFFFFF
##7E16641.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#86193C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1664;
/* rgb */ color: rgb(126, 22, 100);
/* oklch */ color: oklch(41.1% 0.159 340.7);
Tailwind
colors: {
  custom: {
    50: '#a76190',
    500: '#7e1664',
    950: '#000000',
  },
}
SCSS
$custom: #7e1664;
$custom-light: #a76190;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1664",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 315,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.15899,
    "h": 340.7
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#7E1664
secondary
#3DB35A
accent
#ED673B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1664

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

Preview Lab → · Contrast checker → · Palette generator →

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