#7E164A#7E164A

#7E164A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 356.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7E164A
RGBrgb(126, 22, 74)
HSLhsl(330, 70%, 29%)
HSVhsv(330, 83%, 49%)
CMYKcmyk(0%, 82.5%, 41.3%, 50.6%)
CIE-LABlab(28.13, 46.84, -4.06)
CIE-LCHlch(28.13, 47.01, 355.04°)
OKLaboklab(39.95% 0.1441 -0.0101)
OKLCHoklch(39.95% 0.144 356)
XYZxyz(10.1279, 5.5052, 7.0065)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E164A #167E4A
analogous
#7E167E #7E164A #7E1616
triadic
#7E164A #4A7E16 #164A7E
tetradic
#7E164A #7E7E16 #167E4A #16167E
square
#7E164A #7E7E16 #167E4A #16167E
split-complementary
#7E164A #167E16 #167E7E
monochromatic
#1A050F #4A0D2B #7E164A #B21F69 #DB3387

Accessibility & contrast

On white

10.00
#7E164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E164A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E164A#FFFFFF#000000##FFFFFF
##7E164A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#4A4948
Tritanopia (blue-blind)
#89042E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e164a;
/* rgb */ color: rgb(126, 22, 74);
/* oklch */ color: oklch(39.9% 0.144 356.0);
Tailwind
colors: {
  custom: {
    50: '#a8607c',
    500: '#7e164a',
    950: '#000000',
  },
}
SCSS
$custom: #7e164a;
$custom-light: #a8607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e164a",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 330,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.14445,
    "h": 356
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#7E164A
secondary
#3DB378
accent
#ED943B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E164A

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

Preview Lab → · Contrast checker → · Palette generator →

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