#7E1764#7E1764

#7E1764 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.158 H 340.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7E1764
RGBrgb(126, 23, 100)
HSLhsl(315, 69%, 29%)
HSVhsv(315, 82%, 49%)
CMYKcmyk(0%, 81.7%, 20.6%, 50.6%)
CIE-LABlab(29.34, 49.80, -19.34)
CIE-LCHlch(29.34, 53.42, 338.78°)
OKLaboklab(41.19% 0.1492 -0.0522)
OKLCHoklch(41.19% 0.158 340.7)
XYZxyz(11.2112, 5.9697, 12.6160)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1764 #177E31
analogous
#65177E #7E1764 #7E1730
triadic
#7E1764 #647E17 #17647E
tetradic
#7E1764 #7E6517 #177E31 #17307E
square
#7E1764 #7E6517 #177E31 #17307E
split-complementary
#7E1764 #307E17 #177E65
monochromatic
#1A0515 #4A0E3B #7E1764 #B2208D #DA35B1

Accessibility & contrast

On white

9.57
#7E1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1764
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1764#FFFFFF#000000##FFFFFF
##7E17641.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#861A3C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1764;
/* rgb */ color: rgb(126, 23, 100);
/* oklch */ color: oklch(41.2% 0.158 340.7);
Tailwind
colors: {
  custom: {
    50: '#a76190',
    500: '#7e1764',
    950: '#000000',
  },
}
SCSS
$custom: #7e1764;
$custom-light: #a76190;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1764",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 315.146,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.15804,
    "h": 340.7
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#7E1764
secondary
#3EB35C
accent
#EC683C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1764

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

Preview Lab → · Contrast checker → · Palette generator →

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