#7E1C57#7E1C57

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

Color values

HEX#7E1C57
RGBrgb(126, 28, 87)
HSLhsl(324, 64%, 30%)
HSVhsv(324, 78%, 49%)
CMYKcmyk(0%, 77.8%, 31%, 50.6%)
CIE-LABlab(29.30, 46.47, -10.91)
CIE-LCHlch(29.30, 47.73, 346.79°)
OKLaboklab(40.97% 0.1418 -0.0286)
OKLCHoklch(40.97% 0.145 348.6)
XYZxyz(10.7403, 5.9555, 9.5989)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C57 #1C7E43
analogous
#741C7E #7E1C57 #7E1C26
triadic
#7E1C57 #577E1C #1C577E
tetradic
#7E1C57 #7E741C #1C7E43 #1C267E
square
#7E1C57 #7E741C #1C7E43 #1C267E
split-complementary
#7E1C57 #267E1C #1C7E74
monochromatic
#1A0612 #4C1134 #7E1C57 #B0277A #D54099

Accessibility & contrast

On white

9.59
#7E1C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C57
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C57#FFFFFF#000000##FFFFFF
##7E1C571.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#871737
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1c57;
/* rgb */ color: rgb(126, 28, 87);
/* oklch */ color: oklch(41.0% 0.145 348.6);
Tailwind
colors: {
  custom: {
    50: '#a76386',
    500: '#7e1c57',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c57;
$custom-light: #a76386;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c57",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 323.878,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40967,
    "c": 0.14465,
    "h": 348.6
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#7E1C57
secondary
#44B270
accent
#E78341
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1C57

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

Preview Lab → · Contrast checker → · Palette generator →

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