#7E1A5A#7E1A5A

#7E1A5A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.149 H 346.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E1A5A
RGBrgb(126, 26, 90)
HSLhsl(322, 66%, 30%)
HSVhsv(322, 79%, 49%)
CMYKcmyk(0%, 79.4%, 28.6%, 50.6%)
CIE-LABlab(29.19, 47.52, -13.04)
CIE-LCHlch(29.19, 49.28, 344.66°)
OKLaboklab(40.93% 0.1446 -0.0345)
OKLCHoklch(40.93% 0.149 346.6)
XYZxyz(10.8196, 5.9138, 10.2426)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A5A #1A7E3E
analogous
#701A7E #7E1A5A #7E1A28
triadic
#7E1A5A #5A7E1A #1A5A7E
tetradic
#7E1A5A #7E701A #1A7E3E #1A287E
square
#7E1A5A #7E701A #1A7E3E #1A287E
split-complementary
#7E1A5A #287E1A #1A7E70
monochromatic
#190512 #4B1036 #7E1A5A #B1247E #D73C9F

Accessibility & contrast

On white

9.62
#7E1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A5A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A5A#FFFFFF#000000##FFFFFF
##7E1A5A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#871738
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1a5a;
/* rgb */ color: rgb(126, 26, 90);
/* oklch */ color: oklch(40.9% 0.149 346.6);
Tailwind
colors: {
  custom: {
    50: '#a76288',
    500: '#7e1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a5a;
$custom-light: #a76288;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a5a",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 321.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.14861,
    "h": 346.6
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#7E1A5A
secondary
#42B26A
accent
#E97C3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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