#7E1656#7E1656

#7E1656 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.150 H 348.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7E1656
RGBrgb(126, 22, 86)
HSLhsl(323, 70%, 29%)
HSVhsv(323, 83%, 49%)
CMYKcmyk(0%, 82.5%, 31.7%, 50.6%)
CIE-LABlab(28.60, 48.23, -11.32)
CIE-LCHlch(28.60, 49.54, 346.79°)
OKLaboklab(40.44% 0.1474 -0.0297)
OKLCHoklch(40.44% 0.15 348.6)
XYZxyz(10.5714, 5.6826, 9.3424)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1656 #167E3E
analogous
#72167E #7E1656 #7E1622
triadic
#7E1656 #567E16 #16567E
tetradic
#7E1656 #7E7216 #167E3E #16227E
square
#7E1656 #7E7216 #167E3E #16227E
split-complementary
#7E1656 #227E16 #167E72
monochromatic
#1A0512 #4A0D32 #7E1656 #B21F7A #DB339B

Accessibility & contrast

On white

9.83
#7E1656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1656
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1656#FFFFFF#000000##FFFFFF
##7E16561.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#880F34
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1656;
/* rgb */ color: rgb(126, 22, 86);
/* oklch */ color: oklch(40.4% 0.150 348.6);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7e1656',
    950: '#000000',
  },
}
SCSS
$custom: #7e1656;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1656",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 323.077,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.15041,
    "h": 348.6
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#7E1656
secondary
#3DB36A
accent
#ED7F3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1656

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

Preview Lab → · Contrast checker → · Palette generator →

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