#7E1C55#7E1C55

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

Color values

HEX#7E1C55
RGBrgb(126, 28, 85)
HSLhsl(325, 64%, 30%)
HSVhsv(325, 78%, 49%)
CMYKcmyk(0%, 77.8%, 32.5%, 50.6%)
CIE-LABlab(29.22, 46.22, -9.72)
CIE-LCHlch(29.22, 47.23, 348.12°)
OKLaboklab(40.88% 0.1413 -0.0254)
OKLCHoklch(40.88% 0.144 349.8)
XYZxyz(10.6597, 5.9232, 9.1745)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C55 #1C7E45
analogous
#761C7E #7E1C55 #7E1C24
triadic
#7E1C55 #557E1C #1C557E
tetradic
#7E1C55 #7E761C #1C7E45 #1C247E
square
#7E1C55 #7E761C #1C7E45 #1C247E
split-complementary
#7E1C55 #247E1C #1C7E76
monochromatic
#1A0611 #4C1133 #7E1C55 #B02777 #D54096

Accessibility & contrast

On white

9.61
#7E1C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C55
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C55#FFFFFF#000000##FFFFFF
##7E1C551.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A57
Deuteranopia (green-blind)
#494B53
Tritanopia (blue-blind)
#881636
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1c55;
/* rgb */ color: rgb(126, 28, 85);
/* oklch */ color: oklch(40.9% 0.144 349.8);
Tailwind
colors: {
  custom: {
    50: '#a76385',
    500: '#7e1c55',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c55;
$custom-light: #a76385;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c55",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 325.102,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.14353,
    "h": 349.8
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#7E1C55
secondary
#44B272
accent
#E78641
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1C55

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

Preview Lab → · Contrast checker → · Palette generator →

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