#7E1767#7E1767

#7E1767 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 339.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7E1767
RGBrgb(126, 23, 103)
HSLhsl(313, 69%, 29%)
HSVhsv(313, 82%, 49%)
CMYKcmyk(0%, 81.7%, 18.3%, 50.6%)
CIE-LABlab(29.48, 50.23, -21.05)
CIE-LCHlch(29.48, 54.46, 337.27°)
OKLaboklab(41.34% 0.1496 -0.057)
OKLCHoklch(41.34% 0.16 339.1)
XYZxyz(11.3591, 6.0288, 13.3948)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1767 #177E2E
analogous
#62177E #7E1767 #7E1734
triadic
#7E1767 #677E17 #17677E
tetradic
#7E1767 #7E6217 #177E2E #17347E
square
#7E1767 #7E6217 #177E2E #17347E
split-complementary
#7E1767 #347E17 #177E62
monochromatic
#1A0515 #4A0E3D #7E1767 #B22091 #DA35B5

Accessibility & contrast

On white

9.52
#7E1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1767
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1767#FFFFFF#000000##FFFFFF
##7E17671.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861C3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1767;
/* rgb */ color: rgb(126, 23, 103);
/* oklch */ color: oklch(41.3% 0.160 339.1);
Tailwind
colors: {
  custom: {
    50: '#a76292',
    500: '#7e1767',
    950: '#000000',
  },
}
SCSS
$custom: #7e1767;
$custom-light: #a76292;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1767",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 313.398,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.16006,
    "h": 339.1
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#7E1767
secondary
#3EB358
accent
#EC633C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1767

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

Preview Lab → · Contrast checker → · Palette generator →

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