#7E1062#7E1062

#7E1062 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.163 H 341.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7E1062
RGBrgb(126, 16, 98)
HSLhsl(315, 77%, 28%)
HSVhsv(315, 87%, 49%)
CMYKcmyk(0%, 87.3%, 22.2%, 50.6%)
CIE-LABlab(28.61, 51.32, -19.16)
CIE-LCHlch(28.61, 54.78, 339.53°)
OKLaboklab(40.63% 0.1544 -0.0516)
OKLCHoklch(40.63% 0.163 341.5)
XYZxyz(10.9945, 5.6892, 12.0720)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1062 #107E2C
analogous
#63107E #7E1062 #7E102B
triadic
#7E1062 #627E10 #10627E
tetradic
#7E1062 #7E6310 #107E2C #102B7E
square
#7E1062 #7E6310 #107E2C #102B7E
split-complementary
#7E1062 #2B7E10 #107E63
monochromatic
#1B0315 #480938 #7E1062 #B4178C #E325B3

Accessibility & contrast

On white

9.82
#7E1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1062
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1062#FFFFFF#000000##FFFFFF
##7E10621.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#414A60
Tritanopia (blue-blind)
#86133A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1062;
/* rgb */ color: rgb(126, 16, 98);
/* oklch */ color: oklch(40.6% 0.163 341.5);
Tailwind
colors: {
  custom: {
    50: '#a75f8f',
    500: '#7e1062',
    950: '#000000',
  },
}
SCSS
$custom: #7e1062;
$custom-light: #a75f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1062",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 315.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.16281,
    "h": 341.5
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7E1062
secondary
#36B456
accent
#F46534
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1062

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

Preview Lab → · Contrast checker → · Palette generator →

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