#7E1E56#7E1E56

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

Color values

HEX#7E1E56
RGBrgb(126, 30, 86)
HSLhsl(325, 62%, 31%)
HSVhsv(325, 76%, 49%)
CMYKcmyk(0%, 76.2%, 31.7%, 50.6%)
CIE-LABlab(29.51, 45.64, -9.94)
CIE-LCHlch(29.51, 46.71, 347.72°)
OKLaboklab(41.1% 0.1393 -0.026)
OKLCHoklch(41.1% 0.142 349.4)
XYZxyz(10.7487, 6.0373, 9.4016)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E56 #1E7E46
analogous
#761E7E #7E1E56 #7E1E26
triadic
#7E1E56 #567E1E #1E567E
tetradic
#7E1E56 #7E761E #1E7E46 #1E267E
square
#7E1E56 #7E761E #1E7E46 #1E267E
split-complementary
#7E1E56 #267E1E #1E7E76
monochromatic
#1B0613 #4D1234 #7E1E56 #AF2A78 #D24497

Accessibility & contrast

On white

9.51
#7E1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E56
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E56#FFFFFF#000000##FFFFFF
##7E1E561.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B58
Deuteranopia (green-blind)
#494C54
Tritanopia (blue-blind)
#881937
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e56;
/* rgb */ color: rgb(126, 30, 86);
/* oklch */ color: oklch(41.1% 0.142 349.4);
Tailwind
colors: {
  custom: {
    50: '#a76485',
    500: '#7e1e56',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e56;
$custom-light: #a76485;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e56",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 325,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.14174,
    "h": 349.4
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#7E1E56
secondary
#47B173
accent
#E58643
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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