#7E164F#7E164F

#7E164F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.147 H 352.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E164F
RGBrgb(126, 22, 79)
HSLhsl(327, 70%, 29%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 82.5%, 37.3%, 50.6%)
CIE-LABlab(28.31, 47.39, -7.12)
CIE-LCHlch(28.31, 47.92, 351.46°)
OKLaboklab(40.14% 0.1456 -0.0183)
OKLCHoklch(40.14% 0.147 352.8)
XYZxyz(10.3030, 5.5752, 7.9292)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E164F #167E45
analogous
#79167E #7E164F #7E161B
triadic
#7E164F #4F7E16 #164F7E
tetradic
#7E164F #7E7916 #167E45 #161B7E
square
#7E164F #7E7916 #167E45 #161B7E
split-complementary
#7E164F #1B7E16 #167E79
monochromatic
#1A0510 #4A0D2E #7E164F #B21F70 #DB338F

Accessibility & contrast

On white

9.93
#7E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E164F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E164F#FFFFFF#000000##FFFFFF
##7E164F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#49494D
Tritanopia (blue-blind)
#880931
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e164f;
/* rgb */ color: rgb(126, 22, 79);
/* oklch */ color: oklch(40.1% 0.147 352.8);
Tailwind
colors: {
  custom: {
    50: '#a86080',
    500: '#7e164f',
    950: '#000000',
  },
}
SCSS
$custom: #7e164f;
$custom-light: #a86080;
$custom-dark: #000000;
JSON
{
  "hex": "#7e164f",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 327.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.14675,
    "h": 352.8
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7E164F
secondary
#3DB372
accent
#ED8B3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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