#7E1D52#7E1D52

#7E1D52 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.141 H 351.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7E1D52
RGBrgb(126, 29, 82)
HSLhsl(327, 63%, 30%)
HSVhsv(327, 77%, 49%)
CMYKcmyk(0%, 77%, 34.9%, 50.6%)
CIE-LABlab(29.22, 45.50, -7.74)
CIE-LCHlch(29.22, 46.15, 350.35°)
OKLaboklab(40.85% 0.1394 -0.02)
OKLCHoklch(40.85% 0.141 351.8)
XYZxyz(10.5672, 5.9248, 8.5681)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D52 #1D7E49
analogous
#791D7E #7E1D52 #7E1D22
triadic
#7E1D52 #527E1D #1D527E
tetradic
#7E1D52 #7E791D #1D7E49 #1D227E
square
#7E1D52 #7E791D #1D7E49 #1D227E
split-complementary
#7E1D52 #227E1D #1D7E79
monochromatic
#1B0611 #4C1232 #7E1D52 #B02872 #D34291

Accessibility & contrast

On white

9.61
#7E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D52
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D52#FFFFFF#000000##FFFFFF
##7E1D521.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#881535
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d52;
/* rgb */ color: rgb(126, 29, 82);
/* oklch */ color: oklch(40.8% 0.141 351.8);
Tailwind
colors: {
  custom: {
    50: '#a76382',
    500: '#7e1d52',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d52;
$custom-light: #a76382;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d52",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 327.216,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.14079,
    "h": 351.8
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#7E1D52
secondary
#45B176
accent
#E68C42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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