#7E1067#7E1067

#7E1067 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.166 H 338.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7E1067
RGBrgb(126, 16, 103)
HSLhsl(313, 77%, 28%)
HSVhsv(313, 87%, 49%)
CMYKcmyk(0%, 87.3%, 18.3%, 50.6%)
CIE-LABlab(28.87, 52.01, -22.01)
CIE-LCHlch(28.87, 56.48, 337.06°)
OKLaboklab(40.9% 0.155 -0.0597)
OKLCHoklch(40.9% 0.166 338.9)
XYZxyz(11.2380, 5.7866, 13.3544)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1067 #107E27
analogous
#5E107E #7E1067 #7E1030
triadic
#7E1067 #677E10 #10677E
tetradic
#7E1067 #7E5E10 #107E27 #10307E
square
#7E1067 #7E5E10 #107E27 #10307E
split-complementary
#7E1067 #307E10 #107E5E
monochromatic
#1B0316 #48093B #7E1067 #B41793 #E325BC

Accessibility & contrast

On white

9.74
#7E1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1067
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1067#FFFFFF#000000##FFFFFF
##7E10671.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193969
Deuteranopia (green-blind)
#3F4A65
Tritanopia (blue-blind)
#86173C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1067;
/* rgb */ color: rgb(126, 16, 103);
/* oklch */ color: oklch(40.9% 0.166 338.9);
Tailwind
colors: {
  custom: {
    50: '#a75f92',
    500: '#7e1067',
    950: '#000000',
  },
}
SCSS
$custom: #7e1067;
$custom-light: #a75f92;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1067",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 312.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.16608,
    "h": 338.9
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#7E1067
secondary
#36B450
accent
#F45C34
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E1067

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

Preview Lab → · Contrast checker → · Palette generator →

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