#7E1E5B#7E1E5B

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

Color values

HEX#7E1E5B
RGBrgb(126, 30, 91)
HSLhsl(322, 62%, 31%)
HSVhsv(322, 76%, 49%)
CMYKcmyk(0%, 76.2%, 27.8%, 50.6%)
CIE-LABlab(29.71, 46.30, -12.90)
CIE-LCHlch(29.71, 48.06, 344.44°)
OKLaboklab(41.33% 0.1406 -0.0341)
OKLCHoklch(41.33% 0.145 346.3)
XYZxyz(10.9573, 6.1207, 10.4999)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E5B #1E7E41
analogous
#711E7E #7E1E5B #7E1E2B
triadic
#7E1E5B #5B7E1E #1E5B7E
tetradic
#7E1E5B #7E711E #1E7E41 #1E2B7E
square
#7E1E5B #7E711E #1E7E41 #1E2B7E
split-complementary
#7E1E5B #2B7E1E #1E7E71
monochromatic
#1B0614 #4D1237 #7E1E5B #AF2A7F #D2449E

Accessibility & contrast

On white

9.44
#7E1E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E5B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E5B#FFFFFF#000000##FFFFFF
##7E1E5B1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#871B3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1e5b;
/* rgb */ color: rgb(126, 30, 91);
/* oklch */ color: oklch(41.3% 0.145 346.3);
Tailwind
colors: {
  custom: {
    50: '#a76489',
    500: '#7e1e5b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e5b;
$custom-light: #a76489;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e5b",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 321.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.14466,
    "h": 346.3
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#7E1E5B
secondary
#47B16D
accent
#E57E43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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