#7E1A64#7E1A64

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

Color values

HEX#7E1A64
RGBrgb(126, 26, 100)
HSLhsl(316, 66%, 30%)
HSVhsv(316, 79%, 49%)
CMYKcmyk(0%, 79.4%, 20.6%, 50.6%)
CIE-LABlab(29.65, 48.89, -18.85)
CIE-LCHlch(29.65, 52.40, 338.92°)
OKLaboklab(41.41% 0.1464 -0.0508)
OKLCHoklch(41.41% 0.155 340.9)
XYZxyz(11.2742, 6.0957, 12.6370)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A64 #1A7E34
analogous
#661A7E #7E1A64 #7E1A32
triadic
#7E1A64 #647E1A #1A647E
tetradic
#7E1A64 #7E661A #1A7E34 #1A327E
square
#7E1A64 #7E661A #1A7E34 #1A327E
split-complementary
#7E1A64 #327E1A #1A7E66
monochromatic
#190514 #4B103C #7E1A64 #B1248C #D73CAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1A64#FFFFFF#000000##FFFFFF
##7E1A641.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)
#233C66
Deuteranopia (green-blind)
#434C62
Tritanopia (blue-blind)
#861D3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1a64;
/* rgb */ color: rgb(126, 26, 100);
/* oklch */ color: oklch(41.4% 0.155 340.9);
Tailwind
colors: {
  custom: {
    50: '#a76390',
    500: '#7e1a64',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a64;
$custom-light: #a76390;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a64",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 315.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.15497,
    "h": 340.9
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#7E1A64
secondary
#42B25F
accent
#E96B3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1A64

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

Preview Lab → · Contrast checker → · Palette generator →

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