#7E164C#7E164C

#7E164C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 354.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E164C
RGBrgb(126, 22, 76)
HSLhsl(329, 70%, 29%)
HSVhsv(329, 83%, 49%)
CMYKcmyk(0%, 82.5%, 39.7%, 50.6%)
CIE-LABlab(28.20, 47.06, -5.29)
CIE-LCHlch(28.20, 47.35, 353.59°)
OKLaboklab(40.03% 0.1447 -0.0134)
OKLCHoklch(40.03% 0.145 354.7)
XYZxyz(10.1963, 5.5325, 7.3670)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E164C #167E48
analogous
#7C167E #7E164C #7E1618
triadic
#7E164C #4C7E16 #164C7E
tetradic
#7E164C #7E7C16 #167E48 #16187E
square
#7E164C #7E7C16 #167E48 #16187E
split-complementary
#7E164C #187E16 #167E7C
monochromatic
#1A0510 #4A0D2D #7E164C #B21F6B #DB338A

Accessibility & contrast

On white

9.97
#7E164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E164C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E164C#FFFFFF#000000##FFFFFF
##7E164C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#89062F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e164c;
/* rgb */ color: rgb(126, 22, 76);
/* oklch */ color: oklch(40.0% 0.145 354.7);
Tailwind
colors: {
  custom: {
    50: '#a8607e',
    500: '#7e164c',
    950: '#000000',
  },
}
SCSS
$custom: #7e164c;
$custom-light: #a8607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e164c",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 328.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.14535,
    "h": 354.7
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#7E164C
secondary
#3DB376
accent
#ED903B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E164C

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

Preview Lab → · Contrast checker → · Palette generator →

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