#7E1C62#7E1C62

#7E1C62 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.151 H 342.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7E1C62
RGBrgb(126, 28, 98)
HSLhsl(317, 64%, 30%)
HSVhsv(317, 78%, 49%)
CMYKcmyk(0%, 77.8%, 22.2%, 50.6%)
CIE-LABlab(29.79, 47.96, -17.34)
CIE-LCHlch(29.79, 51.00, 340.12°)
OKLaboklab(41.48% 0.1441 -0.0466)
OKLCHoklch(41.48% 0.151 342.1)
XYZxyz(11.2244, 6.1491, 12.1487)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C62 #1C7E38
analogous
#691C7E #7E1C62 #7E1C31
triadic
#7E1C62 #627E1C #1C627E
tetradic
#7E1C62 #7E691C #1C7E38 #1C317E
square
#7E1C62 #7E691C #1C7E38 #1C317E
split-complementary
#7E1C62 #317E1C #1C7E69
monochromatic
#1A0614 #4C113B #7E1C62 #B02789 #D540AA

Accessibility & contrast

On white

9.42
#7E1C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C62
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C62#FFFFFF#000000##FFFFFF
##7E1C621.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C64
Deuteranopia (green-blind)
#454C60
Tritanopia (blue-blind)
#861D3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1c62;
/* rgb */ color: rgb(126, 28, 98);
/* oklch */ color: oklch(41.5% 0.151 342.1);
Tailwind
colors: {
  custom: {
    50: '#a7638e',
    500: '#7e1c62',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c62;
$custom-light: #a7638e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c62",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 317.143,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41479,
    "c": 0.15144,
    "h": 342.1
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#7E1C62
secondary
#44B263
accent
#E77041
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1C62

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

Preview Lab → · Contrast checker → · Palette generator →

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