#7E1C56#7E1C56

#7E1C56 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.144 H 349.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E1C56
RGBrgb(126, 28, 86)
HSLhsl(324, 64%, 30%)
HSVhsv(324, 78%, 49%)
CMYKcmyk(0%, 77.8%, 31.7%, 50.6%)
CIE-LABlab(29.26, 46.34, -10.31)
CIE-LCHlch(29.26, 47.48, 347.45°)
OKLaboklab(40.92% 0.1415 -0.027)
OKLCHoklch(40.92% 0.144 349.2)
XYZxyz(10.6997, 5.9392, 9.3852)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C56 #1C7E44
analogous
#751C7E #7E1C56 #7E1C25
triadic
#7E1C56 #567E1C #1C567E
tetradic
#7E1C56 #7E751C #1C7E44 #1C257E
square
#7E1C56 #7E751C #1C7E44 #1C257E
split-complementary
#7E1C56 #257E1C #1C7E75
monochromatic
#1A0612 #4C1134 #7E1C56 #B02778 #D54098

Accessibility & contrast

On white

9.60
#7E1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C56
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C56#FFFFFF#000000##FFFFFF
##7E1C561.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#881636
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1c56;
/* rgb */ color: rgb(126, 28, 86);
/* oklch */ color: oklch(40.9% 0.144 349.2);
Tailwind
colors: {
  custom: {
    50: '#a76385',
    500: '#7e1c56',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c56;
$custom-light: #a76385;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c56",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 324.49,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40924,
    "c": 0.14408,
    "h": 349.2
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#7E1C56
secondary
#44B271
accent
#E78541
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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