#7E1052#7E1052

#7E1052 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.153 H 350.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E1052
RGBrgb(126, 16, 82)
HSLhsl(324, 77%, 28%)
HSVhsv(324, 87%, 49%)
CMYKcmyk(0%, 87.3%, 34.9%, 50.6%)
CIE-LABlab(27.89, 49.30, -9.75)
CIE-LCHlch(27.89, 50.25, 348.81°)
OKLaboklab(39.88% 0.1514 -0.0254)
OKLCHoklch(39.88% 0.153 350.5)
XYZxyz(10.3131, 5.4167, 8.4834)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1052 #107E3C
analogous
#73107E #7E1052 #7E101B
triadic
#7E1052 #527E10 #10527E
tetradic
#7E1052 #7E7310 #107E3C #101B7E
square
#7E1052 #7E7310 #107E3C #101B7E
split-complementary
#7E1052 #1B7E10 #107E73
monochromatic
#1B0312 #48092F #7E1052 #B41775 #E32597

Accessibility & contrast

On white

10.08
#7E1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1052
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1052#FFFFFF#000000##FFFFFF
##7E10521.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273654
Deuteranopia (green-blind)
#464950
Tritanopia (blue-blind)
#880331
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1052;
/* rgb */ color: rgb(126, 16, 82);
/* oklch */ color: oklch(39.9% 0.153 350.5);
Tailwind
colors: {
  custom: {
    50: '#a85f82',
    500: '#7e1052',
    950: '#000000',
  },
}
SCSS
$custom: #7e1052;
$custom-light: #a85f82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1052",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 324,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.15348,
    "h": 350.5
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#7E1052
secondary
#36B468
accent
#F48134
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1052

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

Preview Lab → · Contrast checker → · Palette generator →

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