#7E1E66#7E1E66

#7E1E66 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.152 H 340.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7E1E66
RGBrgb(126, 30, 102)
HSLhsl(315, 62%, 31%)
HSVhsv(315, 76%, 49%)
CMYKcmyk(0%, 76.2%, 19%, 50.6%)
CIE-LABlab(30.22, 47.85, -19.26)
CIE-LCHlch(30.22, 51.58, 338.07°)
OKLaboklab(41.85% 0.1427 -0.052)
OKLCHoklch(41.85% 0.152 340)
XYZxyz(11.4670, 6.3246, 13.1847)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E66 #1E7E36
analogous
#661E7E #7E1E66 #7E1E36
triadic
#7E1E66 #667E1E #1E667E
tetradic
#7E1E66 #7E661E #1E7E36 #1E367E
square
#7E1E66 #7E661E #1E7E36 #1E367E
split-complementary
#7E1E66 #367E1E #1E7E66
monochromatic
#1B0616 #4D123E #7E1E66 #AF2A8E #D244AF

Accessibility & contrast

On white

9.27
#7E1E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E1E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E66
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E66#FFFFFF#000000##FFFFFF
##7E1E661.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253D68
Deuteranopia (green-blind)
#444D64
Tritanopia (blue-blind)
#86213F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1e66;
/* rgb */ color: rgb(126, 30, 102);
/* oklch */ color: oklch(41.9% 0.152 340.0);
Tailwind
colors: {
  custom: {
    50: '#a76492',
    500: '#7e1e66',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e66;
$custom-light: #a76492;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e66",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 315,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.15185,
    "h": 340
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#7E1E66
secondary
#47B161
accent
#E56C43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7E1E66

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

Preview Lab → · Contrast checker → · Palette generator →

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