#7E1D54#7E1D54

#7E1D54 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.142 H 350.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E1D54
RGBrgb(126, 29, 84)
HSLhsl(326, 63%, 30%)
HSVhsv(326, 77%, 49%)
CMYKcmyk(0%, 77%, 33.3%, 50.6%)
CIE-LABlab(29.30, 45.75, -8.94)
CIE-LCHlch(29.30, 46.61, 348.95°)
OKLaboklab(40.93% 0.1399 -0.0232)
OKLCHoklch(40.93% 0.142 350.6)
XYZxyz(10.6444, 5.9557, 8.9748)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D54 #1D7E47
analogous
#771D7E #7E1D54 #7E1D24
triadic
#7E1D54 #547E1D #1D547E
tetradic
#7E1D54 #7E771D #1D7E47 #1D247E
square
#7E1D54 #7E771D #1D7E47 #1D247E
split-complementary
#7E1D54 #247E1D #1D7E77
monochromatic
#1B0612 #4C1233 #7E1D54 #B02875 #D34294

Accessibility & contrast

On white

9.59
#7E1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D54
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D54#FFFFFF#000000##FFFFFF
##7E1D541.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#881636
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d54;
/* rgb */ color: rgb(126, 29, 84);
/* oklch */ color: oklch(40.9% 0.142 350.6);
Tailwind
colors: {
  custom: {
    50: '#a76384',
    500: '#7e1d54',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d54;
$custom-light: #a76384;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d54",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 325.979,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.14184,
    "h": 350.6
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#7E1D54
secondary
#45B174
accent
#E68942
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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