#7E1666#7E1666

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

Color values

HEX#7E1666
RGBrgb(126, 22, 102)
HSLhsl(314, 70%, 29%)
HSVhsv(314, 83%, 49%)
CMYKcmyk(0%, 82.5%, 19%, 50.6%)
CIE-LABlab(29.34, 50.37, -20.63)
CIE-LCHlch(29.34, 54.43, 337.72°)
OKLaboklab(41.22% 0.1503 -0.0558)
OKLCHoklch(41.22% 0.16 339.6)
XYZxyz(11.2897, 5.9699, 13.1255)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1666 #167E2E
analogous
#62167E #7E1666 #7E1632
triadic
#7E1666 #667E16 #16667E
tetradic
#7E1666 #7E6216 #167E2E #16327E
square
#7E1666 #7E6216 #167E2E #16327E
split-complementary
#7E1666 #327E16 #167E62
monochromatic
#1A0515 #4A0D3C #7E1666 #B21F90 #DB33B5

Accessibility & contrast

On white

9.57
#7E1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1666
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1666#FFFFFF#000000##FFFFFF
##7E16661.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#861B3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1666;
/* rgb */ color: rgb(126, 22, 102);
/* oklch */ color: oklch(41.2% 0.160 339.6);
Tailwind
colors: {
  custom: {
    50: '#a76192',
    500: '#7e1666',
    950: '#000000',
  },
}
SCSS
$custom: #7e1666;
$custom-light: #a76192;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1666",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 313.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.16034,
    "h": 339.6
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#7E1666
secondary
#3DB358
accent
#ED643B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7E1666

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

Preview Lab → · Contrast checker → · Palette generator →

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