#7E1164#7E1164

#7E1164 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.163 H 340.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1164
RGBrgb(126, 17, 100)
HSLhsl(314, 76%, 28%)
HSVhsv(314, 87%, 49%)
CMYKcmyk(0%, 86.5%, 20.6%, 50.6%)
CIE-LABlab(28.79, 51.36, -20.18)
CIE-LCHlch(28.79, 55.19, 338.55°)
OKLaboklab(40.79% 0.154 -0.0545)
OKLCHoklch(40.79% 0.163 340.5)
XYZxyz(11.1053, 5.7578, 12.5806)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1164 #117E2B
analogous
#61117E #7E1164 #7E112D
triadic
#7E1164 #647E11 #11647E
tetradic
#7E1164 #7E6111 #117E2B #112D7E
square
#7E1164 #7E6111 #117E2B #112D7E
split-complementary
#7E1164 #2D7E11 #117E61
monochromatic
#1B0415 #480A39 #7E1164 #B4188F #E227B5

Accessibility & contrast

On white

9.76
#7E1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1164
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1164#FFFFFF#000000##FFFFFF
##7E11641.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1164;
/* rgb */ color: rgb(126, 17, 100);
/* oklch */ color: oklch(40.8% 0.163 340.5);
Tailwind
colors: {
  custom: {
    50: '#a76090',
    500: '#7e1164',
    950: '#000000',
  },
}
SCSS
$custom: #7e1164;
$custom-light: #a76090;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1164",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 314.312,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.16333,
    "h": 340.5
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#7E1164
secondary
#37B455
accent
#F36235
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1164

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

Preview Lab → · Contrast checker → · Palette generator →

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