#7E1462#7E1462

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

Color values

HEX#7E1462
RGBrgb(126, 20, 98)
HSLhsl(316, 73%, 29%)
HSVhsv(316, 84%, 49%)
CMYKcmyk(0%, 84.1%, 22.2%, 50.6%)
CIE-LABlab(28.95, 50.34, -18.64)
CIE-LCHlch(28.95, 53.68, 339.69°)
OKLaboklab(40.88% 0.1514 -0.0502)
OKLCHoklch(40.88% 0.16 341.7)
XYZxyz(11.0593, 5.8190, 12.0937)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1462 #147E30
analogous
#65147E #7E1462 #7E142D
triadic
#7E1462 #627E14 #14627E
tetradic
#7E1462 #7E6514 #147E30 #142D7E
square
#7E1462 #7E6514 #147E30 #142D7E
split-complementary
#7E1462 #2D7E14 #147E65
monochromatic
#1A0415 #490C39 #7E1462 #B31C8B #DE2EB0

Accessibility & contrast

On white

9.71
#7E1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1462
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1462#FFFFFF#000000##FFFFFF
##7E14621.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203964
Deuteranopia (green-blind)
#424A60
Tritanopia (blue-blind)
#86163A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1462;
/* rgb */ color: rgb(126, 20, 98);
/* oklch */ color: oklch(40.9% 0.160 341.7);
Tailwind
colors: {
  custom: {
    50: '#a7608f',
    500: '#7e1462',
    950: '#000000',
  },
}
SCSS
$custom: #7e1462;
$custom-light: #a7608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1462",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 315.849,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.15952,
    "h": 341.7
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#7E1462
secondary
#3AB35A
accent
#EF6938
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1462

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

Preview Lab → · Contrast checker → · Palette generator →

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