#7E1A4E#7E1A4E

#7E1A4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.142 H 354.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7E1A4E
RGBrgb(126, 26, 78)
HSLhsl(329, 66%, 30%)
HSVhsv(329, 79%, 49%)
CMYKcmyk(0%, 79.4%, 38.1%, 50.6%)
CIE-LABlab(28.71, 46.05, -5.86)
CIE-LCHlch(28.71, 46.42, 352.75°)
OKLaboklab(40.42% 0.1414 -0.0149)
OKLCHoklch(40.42% 0.142 354)
XYZxyz(10.3494, 5.7257, 7.7664)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A4E #1A7E4A
analogous
#7C1A7E #7E1A4E #7E1A1C
triadic
#7E1A4E #4E7E1A #1A4E7E
tetradic
#7E1A4E #7E7C1A #1A7E4A #1A1C7E
square
#7E1A4E #7E7C1A #1A7E4A #1A1C7E
split-complementary
#7E1A4E #1C7E1A #1A7E7C
monochromatic
#190510 #4B102F #7E1A4E #B1246D #D73C8C

Accessibility & contrast

On white

9.79
#7E1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A4E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A4E#FFFFFF#000000##FFFFFF
##7E1A4E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#4A4A4C
Tritanopia (blue-blind)
#880E31
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a4e;
/* rgb */ color: rgb(126, 26, 78);
/* oklch */ color: oklch(40.4% 0.142 354.0);
Tailwind
colors: {
  custom: {
    50: '#a8627f',
    500: '#7e1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a4e;
$custom-light: #a8627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a4e",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 328.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.14218,
    "h": 354
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#7E1A4E
secondary
#42B278
accent
#E9913F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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