#7E1B56#7E1B56

#7E1B56 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.145 H 349.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1B56
RGBrgb(126, 27, 86)
HSLhsl(324, 65%, 30%)
HSVhsv(324, 79%, 49%)
CMYKcmyk(0%, 78.6%, 31.7%, 50.6%)
CIE-LABlab(29.14, 46.68, -10.49)
CIE-LCHlch(29.14, 47.85, 347.33°)
OKLaboklab(40.84% 0.1426 -0.0275)
OKLCHoklch(40.84% 0.145 349.1)
XYZxyz(10.6764, 5.8926, 9.3774)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B56 #1B7E43
analogous
#741B7E #7E1B56 #7E1B25
triadic
#7E1B56 #567E1B #1B567E
tetradic
#7E1B56 #7E741B #1B7E43 #1B257E
square
#7E1B56 #7E741B #1B7E43 #1B257E
split-complementary
#7E1B56 #257E1B #1B7E74
monochromatic
#190511 #4C1034 #7E1B56 #B02678 #D63E98

Accessibility & contrast

On white

9.64
#7E1B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B56
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B56#FFFFFF#000000##FFFFFF
##7E1B561.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#881536
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1b56;
/* rgb */ color: rgb(126, 27, 86);
/* oklch */ color: oklch(40.8% 0.145 349.1);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7e1b56',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b56;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b56",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 324.242,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.14522,
    "h": 349.1
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#7E1B56
secondary
#43B270
accent
#E88440
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1B56

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

Preview Lab → · Contrast checker → · Palette generator →

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