#7E1765#7E1765

#7E1765 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.159 H 340.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7E1765
RGBrgb(126, 23, 101)
HSLhsl(315, 69%, 29%)
HSVhsv(315, 82%, 49%)
CMYKcmyk(0%, 81.7%, 19.8%, 50.6%)
CIE-LABlab(29.39, 49.94, -19.91)
CIE-LCHlch(29.39, 53.76, 338.27°)
OKLaboklab(41.24% 0.1493 -0.0538)
OKLCHoklch(41.24% 0.159 340.2)
XYZxyz(11.2599, 5.9892, 12.8724)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1765 #177E30
analogous
#64177E #7E1765 #7E1732
triadic
#7E1765 #657E17 #17657E
tetradic
#7E1765 #7E6417 #177E30 #17327E
square
#7E1765 #7E6417 #177E30 #17327E
split-complementary
#7E1765 #327E17 #177E64
monochromatic
#1A0515 #4A0E3C #7E1765 #B2208E #DA35B2

Accessibility & contrast

On white

9.56
#7E1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1765
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1765#FFFFFF#000000##FFFFFF
##7E17651.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#861B3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1765;
/* rgb */ color: rgb(126, 23, 101);
/* oklch */ color: oklch(41.2% 0.159 340.2);
Tailwind
colors: {
  custom: {
    50: '#a76191',
    500: '#7e1765',
    950: '#000000',
  },
}
SCSS
$custom: #7e1765;
$custom-light: #a76191;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1765",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 314.563,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.15871,
    "h": 340.2
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#7E1765
secondary
#3EB35A
accent
#EC673C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1765

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

Preview Lab → · Contrast checker → · Palette generator →

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