#7E1667#7E1667

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

Color values

HEX#7E1667
RGBrgb(126, 22, 103)
HSLhsl(313, 70%, 29%)
HSVhsv(313, 83%, 49%)
CMYKcmyk(0%, 82.5%, 18.3%, 50.6%)
CIE-LABlab(29.39, 50.51, -21.20)
CIE-LCHlch(29.39, 54.78, 337.23°)
OKLaboklab(41.27% 0.1504 -0.0575)
OKLCHoklch(41.27% 0.161 339.1)
XYZxyz(11.3396, 5.9899, 13.3883)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1667 #167E2D
analogous
#61167E #7E1667 #7E1633
triadic
#7E1667 #677E16 #16677E
tetradic
#7E1667 #7E6116 #167E2D #16337E
square
#7E1667 #7E6116 #167E2D #16337E
split-complementary
#7E1667 #337E16 #167E61
monochromatic
#1A0515 #4A0D3C #7E1667 #B21F92 #DB33B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1667#FFFFFF#000000##FFFFFF
##7E16671.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)
#1D3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861B3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1667;
/* rgb */ color: rgb(126, 22, 103);
/* oklch */ color: oklch(41.3% 0.161 339.1);
Tailwind
colors: {
  custom: {
    50: '#a76192',
    500: '#7e1667',
    950: '#000000',
  },
}
SCSS
$custom: #7e1667;
$custom-light: #a76192;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1667",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 313.269,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.16101,
    "h": 339.1
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#7E1667
secondary
#3DB357
accent
#ED623B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1667

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

Preview Lab → · Contrast checker → · Palette generator →

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