#7E1661#7E1661

#7E1661 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.157 H 342.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7E1661
RGBrgb(126, 22, 97)
HSLhsl(317, 70%, 29%)
HSVhsv(317, 83%, 49%)
CMYKcmyk(0%, 82.5%, 23%, 50.6%)
CIE-LABlab(29.09, 49.66, -17.77)
CIE-LCHlch(29.09, 52.75, 340.32°)
OKLaboklab(40.96% 0.1496 -0.0477)
OKLCHoklch(40.96% 0.157 342.3)
XYZxyz(11.0492, 5.8737, 11.8588)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1661 #167E33
analogous
#67167E #7E1661 #7E162D
triadic
#7E1661 #617E16 #16617E
tetradic
#7E1661 #7E6716 #167E33 #162D7E
square
#7E1661 #7E6716 #167E33 #162D7E
split-complementary
#7E1661 #2D7E16 #167E67
monochromatic
#1A0514 #4A0D39 #7E1661 #B21F89 #DB33AC

Accessibility & contrast

On white

9.66
#7E1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1661
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1661#FFFFFF#000000##FFFFFF
##7E16611.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#434B5F
Tritanopia (blue-blind)
#86173A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1661;
/* rgb */ color: rgb(126, 22, 97);
/* oklch */ color: oklch(41.0% 0.157 342.3);
Tailwind
colors: {
  custom: {
    50: '#a7618e',
    500: '#7e1661',
    950: '#000000',
  },
}
SCSS
$custom: #7e1661;
$custom-light: #a7618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1661",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 316.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40962,
    "c": 0.15704,
    "h": 342.3
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#7E1661
secondary
#3DB35E
accent
#ED6C3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1661

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

Preview Lab → · Contrast checker → · Palette generator →

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