#7E1769#7E1769

#7E1769 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.161 H 338.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E1769
RGBrgb(126, 23, 105)
HSLhsl(312, 69%, 29%)
HSVhsv(312, 82%, 49%)
CMYKcmyk(0%, 81.7%, 16.7%, 50.6%)
CIE-LABlab(29.59, 50.52, -22.18)
CIE-LCHlch(29.59, 55.17, 336.30°)
OKLaboklab(41.45% 0.1498 -0.0603)
OKLCHoklch(41.45% 0.161 338.1)
XYZxyz(11.4607, 6.0695, 13.9298)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1769 #177E2C
analogous
#60177E #7E1769 #7E1736
triadic
#7E1769 #697E17 #17697E
tetradic
#7E1769 #7E6017 #177E2C #17367E
square
#7E1769 #7E6017 #177E2C #17367E
split-complementary
#7E1769 #367E17 #177E60
monochromatic
#1A0516 #4A0E3E #7E1769 #B22094 #DA35B9

Accessibility & contrast

On white

9.49
#7E1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1769
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1769#FFFFFF#000000##FFFFFF
##7E17691.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6B
Deuteranopia (green-blind)
#404B67
Tritanopia (blue-blind)
#851D3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1769;
/* rgb */ color: rgb(126, 23, 105);
/* oklch */ color: oklch(41.4% 0.161 338.1);
Tailwind
colors: {
  custom: {
    50: '#a76294',
    500: '#7e1769',
    950: '#000000',
  },
}
SCSS
$custom: #7e1769;
$custom-light: #a76294;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1769",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 312.233,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.16145,
    "h": 338.1
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#7E1769
secondary
#3EB356
accent
#EC603C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1769

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

Preview Lab → · Contrast checker → · Palette generator →

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