#7E1665#7E1665

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

Color values

HEX#7E1665
RGBrgb(126, 22, 101)
HSLhsl(314, 70%, 29%)
HSVhsv(314, 83%, 49%)
CMYKcmyk(0%, 82.5%, 19.8%, 50.6%)
CIE-LABlab(29.29, 50.22, -20.06)
CIE-LCHlch(29.29, 54.08, 338.23°)
OKLaboklab(41.17% 0.1502 -0.0542)
OKLCHoklch(41.17% 0.16 340.1)
XYZxyz(11.2404, 5.9502, 12.8659)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1665 #167E2F
analogous
#63167E #7E1665 #7E1631
triadic
#7E1665 #657E16 #16657E
tetradic
#7E1665 #7E6316 #167E2F #16317E
square
#7E1665 #7E6316 #167E2F #16317E
split-complementary
#7E1665 #317E16 #167E63
monochromatic
#1A0515 #4A0D3B #7E1665 #B21F8F #DB33B3

Accessibility & contrast

On white

9.59
#7E1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1665
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1665#FFFFFF#000000##FFFFFF
##7E16651.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#861A3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1665;
/* rgb */ color: rgb(126, 22, 101);
/* oklch */ color: oklch(41.2% 0.160 340.1);
Tailwind
colors: {
  custom: {
    50: '#a76191',
    500: '#7e1665',
    950: '#000000',
  },
}
SCSS
$custom: #7e1665;
$custom-light: #a76191;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1665",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 314.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.15966,
    "h": 340.1
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7E1665
secondary
#3DB359
accent
#ED663B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1665

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

Preview Lab → · Contrast checker → · Palette generator →

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