#7E1762#7E1762

#7E1762 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.157 H 341.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7E1762
RGBrgb(126, 23, 98)
HSLhsl(316, 69%, 29%)
HSVhsv(316, 82%, 49%)
CMYKcmyk(0%, 81.7%, 22.2%, 50.6%)
CIE-LABlab(29.24, 49.52, -18.19)
CIE-LCHlch(29.24, 52.75, 339.83°)
OKLaboklab(41.08% 0.1489 -0.0489)
OKLCHoklch(41.08% 0.157 341.8)
XYZxyz(11.1156, 5.9314, 12.1124)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1762 #177E33
analogous
#67177E #7E1762 #7E172E
triadic
#7E1762 #627E17 #17627E
tetradic
#7E1762 #7E6717 #177E33 #172E7E
square
#7E1762 #7E6717 #177E33 #172E7E
split-complementary
#7E1762 #2E7E17 #177E67
monochromatic
#1A0514 #4A0E3A #7E1762 #B2208A #DA35AD

Accessibility & contrast

On white

9.61
#7E1762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1762
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1762#FFFFFF#000000##FFFFFF
##7E17621.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A64
Deuteranopia (green-blind)
#434B60
Tritanopia (blue-blind)
#86193B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1762;
/* rgb */ color: rgb(126, 23, 98);
/* oklch */ color: oklch(41.1% 0.157 341.8);
Tailwind
colors: {
  custom: {
    50: '#a7618f',
    500: '#7e1762',
    950: '#000000',
  },
}
SCSS
$custom: #7e1762;
$custom-light: #a7618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1762",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 316.311,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41084,
    "c": 0.15672,
    "h": 341.8
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#7E1762
secondary
#3EB35E
accent
#EC6C3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1762

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

Preview Lab → · Contrast checker → · Palette generator →

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