#7E1A54#7E1A54

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

Color values

HEX#7E1A54
RGBrgb(126, 26, 84)
HSLhsl(325, 66%, 30%)
HSVhsv(325, 79%, 49%)
CMYKcmyk(0%, 79.4%, 33.3%, 50.6%)
CIE-LABlab(28.94, 46.76, -9.48)
CIE-LCHlch(28.94, 47.71, 348.54°)
OKLaboklab(40.67% 0.1431 -0.0247)
OKLCHoklch(40.67% 0.145 350.2)
XYZxyz(10.5744, 5.8158, 8.9515)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A54 #1A7E44
analogous
#761A7E #7E1A54 #7E1A22
triadic
#7E1A54 #547E1A #1A547E
tetradic
#7E1A54 #7E761A #1A7E44 #1A227E
square
#7E1A54 #7E761A #1A7E44 #1A227E
split-complementary
#7E1A54 #227E1A #1A7E76
monochromatic
#190511 #4B1032 #7E1A54 #B12476 #D73C96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1A54#FFFFFF#000000##FFFFFF
##7E1A541.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)
#2B3956
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#881335
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a54;
/* rgb */ color: rgb(126, 26, 84);
/* oklch */ color: oklch(40.7% 0.145 350.2);
Tailwind
colors: {
  custom: {
    50: '#a76284',
    500: '#7e1a54',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a54;
$custom-light: #a76284;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a54",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 325.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.14522,
    "h": 350.2
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#7E1A54
secondary
#42B271
accent
#E9863F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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