#7E164D#7E164D

#7E164D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.146 H 354.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E164D
RGBrgb(126, 22, 77)
HSLhsl(328, 70%, 29%)
HSVhsv(328, 83%, 49%)
CMYKcmyk(0%, 82.5%, 38.9%, 50.6%)
CIE-LABlab(28.24, 47.17, -5.90)
CIE-LCHlch(28.24, 47.53, 352.87°)
OKLaboklab(40.06% 0.145 -0.015)
OKLCHoklch(40.06% 0.146 354.1)
XYZxyz(10.2313, 5.5466, 7.5516)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E164D #167E47
analogous
#7B167E #7E164D #7E1619
triadic
#7E164D #4D7E16 #164D7E
tetradic
#7E164D #7E7B16 #167E47 #16197E
square
#7E164D #7E7B16 #167E47 #16197E
split-complementary
#7E164D #197E16 #167E7B
monochromatic
#1A0510 #4A0D2D #7E164D #B21F6D #DB338C

Accessibility & contrast

On white

9.96
#7E164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E164D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E164D#FFFFFF#000000##FFFFFF
##7E164D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#880730
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e164d;
/* rgb */ color: rgb(126, 22, 77);
/* oklch */ color: oklch(40.1% 0.146 354.1);
Tailwind
colors: {
  custom: {
    50: '#a8607e',
    500: '#7e164d',
    950: '#000000',
  },
}
SCSS
$custom: #7e164d;
$custom-light: #a8607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e164d",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 328.269,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40064,
    "c": 0.1458,
    "h": 354.1
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#7E164D
secondary
#3DB374
accent
#ED8F3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E164D

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

Preview Lab → · Contrast checker → · Palette generator →

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