#7E1E62#7E1E62

#7E1E62 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.149 H 342.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7E1E62
RGBrgb(126, 30, 98)
HSLhsl(318, 62%, 31%)
HSVhsv(318, 76%, 49%)
CMYKcmyk(0%, 76.2%, 22.2%, 50.6%)
CIE-LABlab(30.03, 47.27, -16.97)
CIE-LCHlch(30.03, 50.22, 340.25°)
OKLaboklab(41.65% 0.142 -0.0455)
OKLCHoklch(41.65% 0.149 342.2)
XYZxyz(11.2734, 6.2472, 12.1650)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E62 #1E7E3A
analogous
#6A1E7E #7E1E62 #7E1E32
triadic
#7E1E62 #627E1E #1E627E
tetradic
#7E1E62 #7E6A1E #1E7E3A #1E327E
square
#7E1E62 #7E6A1E #1E7E3A #1E327E
split-complementary
#7E1E62 #327E1E #1E7E6A
monochromatic
#1B0615 #4D123C #7E1E62 #AF2A88 #D244A9

Accessibility & contrast

On white

9.34
#7E1E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E1E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E62
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E62#FFFFFF#000000##FFFFFF
##7E1E621.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D64
Deuteranopia (green-blind)
#454C60
Tritanopia (blue-blind)
#861F3D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1e62;
/* rgb */ color: rgb(126, 30, 98);
/* oklch */ color: oklch(41.7% 0.149 342.2);
Tailwind
colors: {
  custom: {
    50: '#a7648e',
    500: '#7e1e62',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e62;
$custom-light: #a7648e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e62",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 317.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41654,
    "c": 0.14912,
    "h": 342.2
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#7E1E62
secondary
#47B166
accent
#E57243
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1E62

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

Preview Lab → · Contrast checker → · Palette generator →

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