#7E1760#7E1760

#7E1760 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.155 H 342.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1760
RGBrgb(126, 23, 96)
HSLhsl(317, 69%, 29%)
HSVhsv(317, 82%, 49%)
CMYKcmyk(0%, 81.7%, 23.8%, 50.6%)
CIE-LABlab(29.14, 49.24, -17.04)
CIE-LCHlch(29.14, 52.11, 340.92°)
OKLaboklab(40.98% 0.1486 -0.0457)
OKLCHoklch(40.98% 0.155 342.9)
XYZxyz(11.0223, 5.8941, 11.6213)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1760 #177E35
analogous
#69177E #7E1760 #7E172C
triadic
#7E1760 #607E17 #17607E
tetradic
#7E1760 #7E6917 #177E35 #172C7E
square
#7E1760 #7E6917 #177E35 #172C7E
split-complementary
#7E1760 #2C7E17 #177E69
monochromatic
#1A0514 #4A0E39 #7E1760 #B22087 #DA35AA

Accessibility & contrast

On white

9.64
#7E1760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1760
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1760#FFFFFF#000000##FFFFFF
##7E17601.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A62
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#87183A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1760;
/* rgb */ color: rgb(126, 23, 96);
/* oklch */ color: oklch(41.0% 0.155 342.9);
Tailwind
colors: {
  custom: {
    50: '#a7618d',
    500: '#7e1760',
    950: '#000000',
  },
}
SCSS
$custom: #7e1760;
$custom-light: #a7618d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1760",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 317.476,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.15542,
    "h": 342.9
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#7E1760
secondary
#3EB360
accent
#EC6F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1760

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

Preview Lab → · Contrast checker → · Palette generator →

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