#7E1E6A#7E1E6A

#7E1E6A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.155 H 337.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E1E6A
RGBrgb(126, 30, 106)
HSLhsl(313, 62%, 31%)
HSVhsv(313, 76%, 49%)
CMYKcmyk(0%, 76.2%, 15.9%, 50.6%)
CIE-LABlab(30.41, 48.45, -21.53)
CIE-LCHlch(30.41, 53.02, 336.04°)
OKLaboklab(42.06% 0.1432 -0.0585)
OKLCHoklch(42.06% 0.155 337.8)
XYZxyz(11.6702, 6.4059, 14.2547)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E6A #1E7E32
analogous
#621E7E #7E1E6A #7E1E3A
triadic
#7E1E6A #6A7E1E #1E6A7E
tetradic
#7E1E6A #7E621E #1E7E32 #1E3A7E
square
#7E1E6A #7E621E #1E7E32 #1E3A7E
split-complementary
#7E1E6A #3A7E1E #1E7E62
monochromatic
#1B0617 #4D1240 #7E1E6A #AF2A94 #D244B5

Accessibility & contrast

On white

9.21
#7E1E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E1E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E6A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E6A#FFFFFF#000000##FFFFFF
##7E1E6A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#424D68
Tritanopia (blue-blind)
#852342
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1e6a;
/* rgb */ color: rgb(126, 30, 106);
/* oklch */ color: oklch(42.1% 0.155 337.8);
Tailwind
colors: {
  custom: {
    50: '#a76495',
    500: '#7e1e6a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e6a;
$custom-light: #a76495;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e6a",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 312.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.15469,
    "h": 337.8
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#7E1E6A
secondary
#47B15D
accent
#E56543
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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