#7E1E5A#7E1E5A

#7E1E5A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.144 H 347.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1E5A
RGBrgb(126, 30, 90)
HSLhsl(323, 62%, 31%)
HSVhsv(323, 76%, 49%)
CMYKcmyk(0%, 76.2%, 28.6%, 50.6%)
CIE-LABlab(29.67, 46.16, -12.31)
CIE-LCHlch(29.67, 47.78, 345.07°)
OKLaboklab(41.28% 0.1403 -0.0325)
OKLCHoklch(41.28% 0.144 347)
XYZxyz(10.9144, 6.1036, 10.2742)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E5A #1E7E42
analogous
#721E7E #7E1E5A #7E1E2A
triadic
#7E1E5A #5A7E1E #1E5A7E
tetradic
#7E1E5A #7E721E #1E7E42 #1E2A7E
square
#7E1E5A #7E721E #1E7E42 #1E2A7E
split-complementary
#7E1E5A #2A7E1E #1E7E72
monochromatic
#1B0613 #4D1237 #7E1E5A #AF2A7D #D2449D

Accessibility & contrast

On white

9.46
#7E1E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E5A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E5A#FFFFFF#000000##FFFFFF
##7E1E5A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#871B39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1e5a;
/* rgb */ color: rgb(126, 30, 90);
/* oklch */ color: oklch(41.3% 0.144 347.0);
Tailwind
colors: {
  custom: {
    50: '#a76488',
    500: '#7e1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e5a;
$custom-light: #a76488;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e5a",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 322.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.14406,
    "h": 347
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#7E1E5A
secondary
#47B16F
accent
#E58043
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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