#7E1064#7E1064

#7E1064 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.164 H 340.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7E1064
RGBrgb(126, 16, 100)
HSLhsl(314, 77%, 28%)
HSVhsv(314, 87%, 49%)
CMYKcmyk(0%, 87.3%, 20.6%, 50.6%)
CIE-LABlab(28.71, 51.59, -20.30)
CIE-LCHlch(28.71, 55.44, 338.52°)
OKLaboklab(40.74% 0.1547 -0.0549)
OKLCHoklch(40.74% 0.164 340.5)
XYZxyz(11.0901, 5.7275, 12.5756)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1064 #107E2A
analogous
#61107E #7E1064 #7E102D
triadic
#7E1064 #647E10 #10647E
tetradic
#7E1064 #7E6110 #107E2A #102D7E
square
#7E1064 #7E6110 #107E2A #102D7E
split-complementary
#7E1064 #2D7E10 #107E61
monochromatic
#1B0316 #480939 #7E1064 #B4178F #E325B6

Accessibility & contrast

On white

9.79
#7E1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1064
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1064#FFFFFF#000000##FFFFFF
##7E10641.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3966
Deuteranopia (green-blind)
#404A62
Tritanopia (blue-blind)
#86153B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1064;
/* rgb */ color: rgb(126, 16, 100);
/* oklch */ color: oklch(40.7% 0.164 340.5);
Tailwind
colors: {
  custom: {
    50: '#a75f90',
    500: '#7e1064',
    950: '#000000',
  },
}
SCSS
$custom: #7e1064;
$custom-light: #a75f90;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1064",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 314.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.1641,
    "h": 340.5
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7E1064
secondary
#36B453
accent
#F46134
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1064

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

Preview Lab → · Contrast checker → · Palette generator →

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