#7E1668#7E1668

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

Color values

HEX#7E1668
RGBrgb(126, 22, 104)
HSLhsl(313, 70%, 29%)
HSVhsv(313, 83%, 49%)
CMYKcmyk(0%, 82.5%, 17.5%, 50.6%)
CIE-LABlab(29.44, 50.66, -21.77)
CIE-LCHlch(29.44, 55.13, 336.75°)
OKLaboklab(41.32% 0.1505 -0.0591)
OKLCHoklch(41.32% 0.162 338.6)
XYZxyz(11.3901, 6.0101, 13.6542)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1668 #167E2C
analogous
#60167E #7E1668 #7E1634
triadic
#7E1668 #687E16 #16687E
tetradic
#7E1668 #7E6016 #167E2C #16347E
square
#7E1668 #7E6016 #167E2C #16347E
split-complementary
#7E1668 #347E16 #167E60
monochromatic
#1A0516 #4A0D3D #7E1668 #B21F93 #DB33B8

Accessibility & contrast

On white

9.54
#7E1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1668
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1668#FFFFFF#000000##FFFFFF
##7E16681.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#861C3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1668;
/* rgb */ color: rgb(126, 22, 104);
/* oklch */ color: oklch(41.3% 0.162 338.6);
Tailwind
colors: {
  custom: {
    50: '#a76193',
    500: '#7e1668',
    950: '#000000',
  },
}
SCSS
$custom: #7e1668;
$custom-light: #a76193;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1668",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 312.692,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.1617,
    "h": 338.6
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#7E1668
secondary
#3DB356
accent
#ED603B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1668

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

Preview Lab → · Contrast checker → · Palette generator →

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