#7E1D5E#7E1D5E

#7E1D5E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.148 H 344.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E1D5E
RGBrgb(126, 29, 94)
HSLhsl(320, 63%, 30%)
HSVhsv(320, 77%, 49%)
CMYKcmyk(0%, 77%, 25.4%, 50.6%)
CIE-LABlab(29.72, 47.06, -14.84)
CIE-LCHlch(29.72, 49.34, 342.50°)
OKLaboklab(41.37% 0.1423 -0.0396)
OKLCHoklch(41.37% 0.148 344.5)
XYZxyz(11.0644, 6.1237, 11.1868)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D5E #1D7E3D
analogous
#6D1D7E #7E1D5E #7E1D2D
triadic
#7E1D5E #5E7E1D #1D5E7E
tetradic
#7E1D5E #7E6D1D #1D7E3D #1D2D7E
square
#7E1D5E #7E6D1D #1D7E3D #1D2D7E
split-complementary
#7E1D5E #2D7E1D #1D7E6D
monochromatic
#1B0614 #4C1239 #7E1D5E #B02883 #D342A3

Accessibility & contrast

On white

9.44
#7E1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D5E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D5E#FFFFFF#000000##FFFFFF
##7E1D5E1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#871C3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1d5e;
/* rgb */ color: rgb(126, 29, 94);
/* oklch */ color: oklch(41.4% 0.148 344.5);
Tailwind
colors: {
  custom: {
    50: '#a7638b',
    500: '#7e1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d5e;
$custom-light: #a7638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d5e",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 319.794,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.1477,
    "h": 344.5
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#7E1D5E
secondary
#45B169
accent
#E67842
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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