#7E1054#7E1054

#7E1054 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 40.0% C 0.155 H 349.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7E1054
RGBrgb(126, 16, 84)
HSLhsl(323, 77%, 28%)
HSVhsv(323, 87%, 49%)
CMYKcmyk(0%, 87.3%, 33.3%, 50.6%)
CIE-LABlab(27.97, 49.53, -10.95)
CIE-LCHlch(27.97, 50.73, 347.54°)
OKLaboklab(39.96% 0.1519 -0.0287)
OKLCHoklch(39.96% 0.155 349.3)
XYZxyz(10.3903, 5.4476, 8.8901)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1054 #107E3A
analogous
#71107E #7E1054 #7E101D
triadic
#7E1054 #547E10 #10547E
tetradic
#7E1054 #7E7110 #107E3A #101D7E
square
#7E1054 #7E7110 #107E3A #101D7E
split-complementary
#7E1054 #1D7E10 #107E71
monochromatic
#1B0312 #480930 #7E1054 #B41778 #E3259B

Accessibility & contrast

On white

10.05
#7E1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1054
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1054#FFFFFF#000000##FFFFFF
##7E10541.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#880532
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1054;
/* rgb */ color: rgb(126, 16, 84);
/* oklch */ color: oklch(40.0% 0.155 349.3);
Tailwind
colors: {
  custom: {
    50: '#a85f84',
    500: '#7e1054',
    950: '#000000',
  },
}
SCSS
$custom: #7e1054;
$custom-light: #a85f84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1054",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 322.909,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.15453,
    "h": 349.3
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#7E1054
secondary
#36B466
accent
#F47D34
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1054

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

Preview Lab → · Contrast checker → · Palette generator →

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