#7E1E55#7E1E55

#7E1E55 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.141 H 350.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E1E55
RGBrgb(126, 30, 85)
HSLhsl(326, 62%, 31%)
HSVhsv(326, 76%, 49%)
CMYKcmyk(0%, 76.2%, 32.5%, 50.6%)
CIE-LABlab(29.47, 45.52, -9.34)
CIE-LCHlch(29.47, 46.47, 348.40°)
OKLaboklab(41.06% 0.1391 -0.0244)
OKLCHoklch(41.06% 0.141 350.1)
XYZxyz(10.7087, 6.0213, 9.1908)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E55 #1E7E47
analogous
#771E7E #7E1E55 #7E1E25
triadic
#7E1E55 #557E1E #1E557E
tetradic
#7E1E55 #7E771E #1E7E47 #1E257E
square
#7E1E55 #7E771E #1E7E47 #1E257E
split-complementary
#7E1E55 #257E1E #1E7E77
monochromatic
#1B0612 #4D1234 #7E1E55 #AF2A76 #D24496

Accessibility & contrast

On white

9.53
#7E1E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E55
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E55#FFFFFF#000000##FFFFFF
##7E1E551.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#494C53
Tritanopia (blue-blind)
#881837
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e55;
/* rgb */ color: rgb(126, 30, 85);
/* oklch */ color: oklch(41.1% 0.141 350.1);
Tailwind
colors: {
  custom: {
    50: '#a76484',
    500: '#7e1e55',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e55;
$custom-light: #a76484;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e55",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 325.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.14119,
    "h": 350.1
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#7E1E55
secondary
#47B174
accent
#E58843
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1E55

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

Preview Lab → · Contrast checker → · Palette generator →

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