#7E1D56#7E1D56

#7E1D56 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 349.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7E1D56
RGBrgb(126, 29, 86)
HSLhsl(325, 63%, 30%)
HSVhsv(325, 77%, 49%)
CMYKcmyk(0%, 77%, 31.7%, 50.6%)
CIE-LABlab(29.38, 46.00, -10.13)
CIE-LCHlch(29.38, 47.10, 347.58°)
OKLaboklab(41.01% 0.1405 -0.0265)
OKLCHoklch(41.01% 0.143 349.3)
XYZxyz(10.7238, 5.9875, 9.3933)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D56 #1D7E45
analogous
#751D7E #7E1D56 #7E1D26
triadic
#7E1D56 #567E1D #1D567E
tetradic
#7E1D56 #7E751D #1D7E45 #1D267E
square
#7E1D56 #7E751D #1D7E45 #1D267E
split-complementary
#7E1D56 #267E1D #1D7E75
monochromatic
#1B0612 #4C1234 #7E1D56 #B02878 #D34297

Accessibility & contrast

On white

9.56
#7E1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D56
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D56#FFFFFF#000000##FFFFFF
##7E1D561.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#494B54
Tritanopia (blue-blind)
#881737
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d56;
/* rgb */ color: rgb(126, 29, 86);
/* oklch */ color: oklch(41.0% 0.143 349.3);
Tailwind
colors: {
  custom: {
    50: '#a76385',
    500: '#7e1d56',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d56;
$custom-light: #a76385;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d56",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 324.742,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.14293,
    "h": 349.3
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#7E1D56
secondary
#45B172
accent
#E68642
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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