#7E1C58#7E1C58

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

Color values

HEX#7E1C58
RGBrgb(126, 28, 88)
HSLhsl(323, 64%, 30%)
HSVhsv(323, 78%, 49%)
CMYKcmyk(0%, 77.8%, 30.2%, 50.6%)
CIE-LABlab(29.34, 46.60, -11.50)
CIE-LCHlch(29.34, 48.00, 346.13°)
OKLaboklab(41.01% 0.142 -0.0303)
OKLCHoklch(41.01% 0.145 348)
XYZxyz(10.7814, 5.9719, 9.8156)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C58 #1C7E42
analogous
#731C7E #7E1C58 #7E1C27
triadic
#7E1C58 #587E1C #1C587E
tetradic
#7E1C58 #7E731C #1C7E42 #1C277E
square
#7E1C58 #7E731C #1C7E42 #1C277E
split-complementary
#7E1C58 #277E1C #1C7E73
monochromatic
#1A0612 #4C1135 #7E1C58 #B0277B #D5409B

Accessibility & contrast

On white

9.57
#7E1C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C58
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C58#FFFFFF#000000##FFFFFF
##7E1C581.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A5A
Deuteranopia (green-blind)
#484B56
Tritanopia (blue-blind)
#871837
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1c58;
/* rgb */ color: rgb(126, 28, 88);
/* oklch */ color: oklch(41.0% 0.145 348.0);
Tailwind
colors: {
  custom: {
    50: '#a76387',
    500: '#7e1c58',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c58;
$custom-light: #a76387;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c58",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 323.265,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41011,
    "c": 0.14522,
    "h": 348
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#7E1C58
secondary
#44B26F
accent
#E78141
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1C58

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

Preview Lab → · Contrast checker → · Palette generator →

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