#7E1E54#7E1E54

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

Color values

HEX#7E1E54
RGBrgb(126, 30, 84)
HSLhsl(326, 62%, 31%)
HSVhsv(326, 76%, 49%)
CMYKcmyk(0%, 76.2%, 33.3%, 50.6%)
CIE-LABlab(29.43, 45.39, -8.75)
CIE-LCHlch(29.43, 46.23, 349.09°)
OKLaboklab(41.02% 0.1388 -0.0227)
OKLCHoklch(41.02% 0.141 350.7)
XYZxyz(10.6693, 6.0055, 8.9831)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E54 #1E7E48
analogous
#781E7E #7E1E54 #7E1E24
triadic
#7E1E54 #547E1E #1E547E
tetradic
#7E1E54 #7E781E #1E7E48 #1E247E
square
#7E1E54 #7E781E #1E7E48 #1E247E
split-complementary
#7E1E54 #247E1E #1E7E78
monochromatic
#1B0612 #4D1233 #7E1E54 #AF2A75 #D24494

Accessibility & contrast

On white

9.54
#7E1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E54
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E54#FFFFFF#000000##FFFFFF
##7E1E541.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A55
Deuteranopia (green-blind)
#4A4C52
Tritanopia (blue-blind)
#881736
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e54;
/* rgb */ color: rgb(126, 30, 84);
/* oklch */ color: oklch(41.0% 0.141 350.7);
Tailwind
colors: {
  custom: {
    50: '#a76484',
    500: '#7e1e54',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e54;
$custom-light: #a76484;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e54",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 326.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.14065,
    "h": 350.7
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#7E1E54
secondary
#47B175
accent
#E58A43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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