#7E1D5A#7E1D5A

#7E1D5A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.145 H 346.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1D5A
RGBrgb(126, 29, 90)
HSLhsl(322, 63%, 30%)
HSVhsv(322, 77%, 49%)
CMYKcmyk(0%, 77%, 28.6%, 50.6%)
CIE-LABlab(29.55, 46.52, -12.50)
CIE-LCHlch(29.55, 48.17, 344.96°)
OKLaboklab(41.19% 0.1414 -0.033)
OKLCHoklch(41.19% 0.145 346.9)
XYZxyz(10.8895, 6.0537, 10.2659)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D5A #1D7E41
analogous
#711D7E #7E1D5A #7E1D29
triadic
#7E1D5A #5A7E1D #1D5A7E
tetradic
#7E1D5A #7E711D #1D7E41 #1D297E
square
#7E1D5A #7E711D #1D7E41 #1D297E
split-complementary
#7E1D5A #297E1D #1D7E71
monochromatic
#1B0613 #4C1236 #7E1D5A #B0287E #D3429D

Accessibility & contrast

On white

9.50
#7E1D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D5A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D5A#FFFFFF#000000##FFFFFF
##7E1D5A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#871A39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1d5a;
/* rgb */ color: rgb(126, 29, 90);
/* oklch */ color: oklch(41.2% 0.145 346.9);
Tailwind
colors: {
  custom: {
    50: '#a76388',
    500: '#7e1d5a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d5a;
$custom-light: #a76388;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d5a",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 322.268,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.14524,
    "h": 346.9
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#7E1D5A
secondary
#45B16D
accent
#E67F42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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