#7E1B64#7E1B64

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

Color values

HEX#7E1B64
RGBrgb(126, 27, 100)
HSLhsl(316, 65%, 30%)
HSVhsv(316, 79%, 49%)
CMYKcmyk(0%, 78.6%, 20.6%, 50.6%)
CIE-LABlab(29.76, 48.57, -18.67)
CIE-LCHlch(29.76, 52.04, 338.97°)
OKLaboklab(41.5% 0.1454 -0.0503)
OKLCHoklch(41.5% 0.154 340.9)
XYZxyz(11.2967, 6.1407, 12.6445)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B64 #1B7E35
analogous
#671B7E #7E1B64 #7E1B32
triadic
#7E1B64 #647E1B #1B647E
tetradic
#7E1B64 #7E671B #1B7E35 #1B327E
square
#7E1B64 #7E671B #1B7E35 #1B327E
split-complementary
#7E1B64 #327E1B #1B7E67
monochromatic
#190514 #4C103C #7E1B64 #B0268C #D63EAE

Accessibility & contrast

On white

9.43
#7E1B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B64
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B64#FFFFFF#000000##FFFFFF
##7E1B641.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C66
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#861E3D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1b64;
/* rgb */ color: rgb(126, 27, 100);
/* oklch */ color: oklch(41.5% 0.154 340.9);
Tailwind
colors: {
  custom: {
    50: '#a76390',
    500: '#7e1b64',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b64;
$custom-light: #a76390;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b64",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 315.758,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.15389,
    "h": 340.9
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#7E1B64
secondary
#43B260
accent
#E86C40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1B64

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

Preview Lab → · Contrast checker → · Palette generator →

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