#7E1A52#7E1A52

#7E1A52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.144 H 351.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7E1A52
RGBrgb(126, 26, 82)
HSLhsl(326, 66%, 30%)
HSVhsv(326, 79%, 49%)
CMYKcmyk(0%, 79.4%, 34.9%, 50.6%)
CIE-LABlab(28.86, 46.52, -8.28)
CIE-LCHlch(28.86, 47.25, 349.91°)
OKLaboklab(40.58% 0.1426 -0.0214)
OKLCHoklch(40.58% 0.144 351.4)
XYZxyz(10.4972, 5.7849, 8.5448)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A52 #1A7E46
analogous
#781A7E #7E1A52 #7E1A20
triadic
#7E1A52 #527E1A #1A527E
tetradic
#7E1A52 #7E781A #1A7E46 #1A207E
square
#7E1A52 #7E781A #1A7E46 #1A207E
split-complementary
#7E1A52 #207E1A #1A7E78
monochromatic
#190511 #4B1031 #7E1A52 #B12473 #D73C93

Accessibility & contrast

On white

9.74
#7E1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A52
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A52#FFFFFF#000000##FFFFFF
##7E1A521.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#881134
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a52;
/* rgb */ color: rgb(126, 26, 82);
/* oklch */ color: oklch(40.6% 0.144 351.4);
Tailwind
colors: {
  custom: {
    50: '#a76282',
    500: '#7e1a52',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a52;
$custom-light: #a76282;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a52",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 326.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.14416,
    "h": 351.4
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#7E1A52
secondary
#42B273
accent
#E98A3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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