#7E1D64#7E1D64

#7E1D64 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.152 H 341.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E1D64
RGBrgb(126, 29, 100)
HSLhsl(316, 63%, 30%)
HSVhsv(316, 77%, 49%)
CMYKcmyk(0%, 77%, 20.6%, 50.6%)
CIE-LABlab(30.00, 47.91, -18.31)
CIE-LCHlch(30.00, 51.28, 339.08°)
OKLaboklab(41.66% 0.1434 -0.0493)
OKLCHoklch(41.66% 0.152 341)
XYZxyz(11.3442, 6.2356, 12.6603)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D64 #1D7E37
analogous
#671D7E #7E1D64 #7E1D34
triadic
#7E1D64 #647E1D #1D647E
tetradic
#7E1D64 #7E671D #1D7E37 #1D347E
square
#7E1D64 #7E671D #1D7E37 #1D347E
split-complementary
#7E1D64 #347E1D #1D7E67
monochromatic
#1B0615 #4C123D #7E1D64 #B0288B #D342AC

Accessibility & contrast

On white

9.35
#7E1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D64
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D64#FFFFFF#000000##FFFFFF
##7E1D641.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253D66
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#861F3E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1d64;
/* rgb */ color: rgb(126, 29, 100);
/* oklch */ color: oklch(41.7% 0.152 341.0);
Tailwind
colors: {
  custom: {
    50: '#a76490',
    500: '#7e1d64',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d64;
$custom-light: #a76490;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d64",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 316.082,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.15164,
    "h": 341
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#7E1D64
secondary
#45B162
accent
#E66E42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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