#7E1A56#7E1A56

#7E1A56 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.146 H 349.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E1A56
RGBrgb(126, 26, 86)
HSLhsl(324, 66%, 30%)
HSVhsv(324, 79%, 49%)
CMYKcmyk(0%, 79.4%, 31.7%, 50.6%)
CIE-LABlab(29.02, 47.01, -10.67)
CIE-LCHlch(29.02, 48.20, 347.21°)
OKLaboklab(40.75% 0.1436 -0.028)
OKLCHoklch(40.75% 0.146 349)
XYZxyz(10.6539, 5.8475, 9.3699)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A56 #1A7E42
analogous
#741A7E #7E1A56 #7E1A24
triadic
#7E1A56 #567E1A #1A567E
tetradic
#7E1A56 #7E741A #1A7E42 #1A247E
square
#7E1A56 #7E741A #1A7E42 #1A247E
split-complementary
#7E1A56 #247E1A #1A7E74
monochromatic
#190511 #4B1033 #7E1A56 #B12479 #D73C99

Accessibility & contrast

On white

9.68
#7E1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A56
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A56#FFFFFF#000000##FFFFFF
##7E1A561.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#881436
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a56;
/* rgb */ color: rgb(126, 26, 86);
/* oklch */ color: oklch(40.8% 0.146 349.0);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7e1a56',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a56;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a56",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 324,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.14631,
    "h": 349
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7E1A56
secondary
#42B26F
accent
#E9833F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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