#7E1068#7E1068

#7E1068 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.167 H 338.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1068
RGBrgb(126, 16, 104)
HSLhsl(312, 77%, 28%)
HSVhsv(312, 87%, 49%)
CMYKcmyk(0%, 87.3%, 17.5%, 50.6%)
CIE-LABlab(28.92, 52.15, -22.58)
CIE-LCHlch(28.92, 56.83, 336.59°)
OKLaboklab(40.95% 0.1551 -0.0613)
OKLCHoklch(40.95% 0.167 338.4)
XYZxyz(11.2885, 5.8068, 13.6203)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1068 #107E26
analogous
#5D107E #7E1068 #7E1031
triadic
#7E1068 #687E10 #10687E
tetradic
#7E1068 #7E5D10 #107E26 #10317E
square
#7E1068 #7E5D10 #107E26 #10317E
split-complementary
#7E1068 #317E10 #107E5D
monochromatic
#1B0316 #48093B #7E1068 #B41795 #E325BD

Accessibility & contrast

On white

9.72
#7E1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1068
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1068#FFFFFF#000000##FFFFFF
##7E10681.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#86183D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1068;
/* rgb */ color: rgb(126, 16, 104);
/* oklch */ color: oklch(41.0% 0.167 338.4);
Tailwind
colors: {
  custom: {
    50: '#a75f93',
    500: '#7e1068',
    950: '#000000',
  },
}
SCSS
$custom: #7e1068;
$custom-light: #a75f93;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1068",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 312,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.16675,
    "h": 338.4
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#7E1068
secondary
#36B44F
accent
#F45A34
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E1068

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

Preview Lab → · Contrast checker → · Palette generator →

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