#7E1651#7E1651

#7E1651 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.148 H 351.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E1651
RGBrgb(126, 22, 81)
HSLhsl(326, 70%, 29%)
HSVhsv(326, 83%, 49%)
CMYKcmyk(0%, 82.5%, 35.7%, 50.6%)
CIE-LABlab(28.39, 47.62, -8.32)
CIE-LCHlch(28.39, 48.35, 350.08°)
OKLaboklab(40.23% 0.1462 -0.0215)
OKLCHoklch(40.23% 0.148 351.6)
XYZxyz(10.3769, 5.6048, 8.3184)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1651 #167E43
analogous
#77167E #7E1651 #7E161D
triadic
#7E1651 #517E16 #16517E
tetradic
#7E1651 #7E7716 #167E43 #161D7E
square
#7E1651 #7E7716 #167E43 #161D7E
split-complementary
#7E1651 #1D7E16 #167E77
monochromatic
#1A0511 #4A0D30 #7E1651 #B21F72 #DB3393

Accessibility & contrast

On white

9.90
#7E1651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1651
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1651#FFFFFF#000000##FFFFFF
##7E16511.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#880B32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1651;
/* rgb */ color: rgb(126, 22, 81);
/* oklch */ color: oklch(40.2% 0.148 351.6);
Tailwind
colors: {
  custom: {
    50: '#a86081',
    500: '#7e1651',
    950: '#000000',
  },
}
SCSS
$custom: #7e1651;
$custom-light: #a86081;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1651",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 325.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40227,
    "c": 0.14775,
    "h": 351.6
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#7E1651
secondary
#3DB370
accent
#ED883B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1651

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

Preview Lab → · Contrast checker → · Palette generator →

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