#7E1E5E#7E1E5E

#7E1E5E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.147 H 344.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1E5E
RGBrgb(126, 30, 94)
HSLhsl(320, 62%, 31%)
HSVhsv(320, 76%, 49%)
CMYKcmyk(0%, 76.2%, 25.4%, 50.6%)
CIE-LABlab(29.85, 46.71, -14.65)
CIE-LCHlch(29.85, 48.95, 342.58°)
OKLaboklab(41.46% 0.1412 -0.039)
OKLCHoklch(41.46% 0.147 344.5)
XYZxyz(11.0893, 6.1735, 11.1951)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E5E #1E7E3E
analogous
#6E1E7E #7E1E5E #7E1E2E
triadic
#7E1E5E #5E7E1E #1E5E7E
tetradic
#7E1E5E #7E6E1E #1E7E3E #1E2E7E
square
#7E1E5E #7E6E1E #1E7E3E #1E2E7E
split-complementary
#7E1E5E #2E7E1E #1E7E6E
monochromatic
#1B0614 #4D1239 #7E1E5E #AF2A83 #D244A3

Accessibility & contrast

On white

9.40
#7E1E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E5E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E5E#FFFFFF#000000##FFFFFF
##7E1E5E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#871D3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1e5e;
/* rgb */ color: rgb(126, 30, 94);
/* oklch */ color: oklch(41.5% 0.147 344.5);
Tailwind
colors: {
  custom: {
    50: '#a7648b',
    500: '#7e1e5e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e5e;
$custom-light: #a7648b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e5e",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 320,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.14652,
    "h": 344.5
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#7E1E5E
secondary
#47B16A
accent
#E57943
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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