#7E1756#7E1756

#7E1756 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.149 H 348.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7E1756
RGBrgb(126, 23, 86)
HSLhsl(323, 69%, 29%)
HSVhsv(323, 82%, 49%)
CMYKcmyk(0%, 81.7%, 31.7%, 50.6%)
CIE-LABlab(28.70, 47.94, -11.17)
CIE-LCHlch(28.70, 49.22, 346.89°)
OKLaboklab(40.52% 0.1465 -0.0293)
OKLCHoklch(40.52% 0.149 348.7)
XYZxyz(10.5909, 5.7215, 9.3489)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1756 #177E3F
analogous
#73177E #7E1756 #7E1723
triadic
#7E1756 #567E17 #17567E
tetradic
#7E1756 #7E7317 #177E3F #17237E
square
#7E1756 #7E7317 #177E3F #17237E
split-complementary
#7E1756 #237E17 #177E73
monochromatic
#1A0512 #4A0E33 #7E1756 #B22079 #DA359A

Accessibility & contrast

On white

9.79
#7E1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1756
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1756#FFFFFF#000000##FFFFFF
##7E17561.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293858
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#881035
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1756;
/* rgb */ color: rgb(126, 23, 86);
/* oklch */ color: oklch(40.5% 0.149 348.7);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7e1756',
    950: '#000000',
  },
}
SCSS
$custom: #7e1756;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1756",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 323.301,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.14943,
    "h": 348.7
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#7E1756
secondary
#3EB36B
accent
#EC803C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1756

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

Preview Lab → · Contrast checker → · Palette generator →

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