#7E1264#7E1264

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

Color values

HEX#7E1264
RGBrgb(126, 18, 100)
HSLhsl(314, 75%, 28%)
HSVhsv(314, 86%, 49%)
CMYKcmyk(0%, 85.7%, 20.6%, 50.6%)
CIE-LABlab(28.88, 51.13, -20.05)
CIE-LCHlch(28.88, 54.92, 338.58°)
OKLaboklab(40.85% 0.1532 -0.0542)
OKLCHoklch(40.85% 0.163 340.5)
XYZxyz(11.1211, 5.7895, 12.5859)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1264 #127E2C
analogous
#62127E #7E1264 #7E122E
triadic
#7E1264 #647E12 #12647E
tetradic
#7E1264 #7E6212 #127E2C #122E7E
square
#7E1264 #7E6212 #127E2C #122E7E
split-complementary
#7E1264 #2E7E12 #127E62
monochromatic
#1B0415 #480A39 #7E1264 #B41A8F #E12AB5

Accessibility & contrast

On white

9.73
#7E1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1264
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1264#FFFFFF#000000##FFFFFF
##7E12641.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1264;
/* rgb */ color: rgb(126, 18, 100);
/* oklch */ color: oklch(40.9% 0.163 340.5);
Tailwind
colors: {
  custom: {
    50: '#a76090',
    500: '#7e1264',
    950: '#000000',
  },
}
SCSS
$custom: #7e1264;
$custom-light: #a76090;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1264",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 314.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.16253,
    "h": 340.5
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#7E1264
secondary
#38B456
accent
#F26336
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1264

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

Preview Lab → · Contrast checker → · Palette generator →

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