#7E2164#7E2164

#7E2164 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.147 H 341.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E2164
RGBrgb(126, 33, 100)
HSLhsl(317, 58%, 31%)
HSVhsv(317, 74%, 49%)
CMYKcmyk(0%, 73.8%, 20.6%, 50.6%)
CIE-LABlab(30.51, 46.47, -17.52)
CIE-LCHlch(30.51, 49.66, 339.34°)
OKLaboklab(42.03% 0.139 -0.0471)
OKLCHoklch(42.03% 0.147 341.3)
XYZxyz(11.4486, 6.4446, 12.6951)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2164 #217E3B
analogous
#69217E #7E2164 #7E2135
triadic
#7E2164 #647E21 #21647E
tetradic
#7E2164 #7E6921 #217E3B #21357E
square
#7E2164 #7E6921 #217E3B #21357E
split-complementary
#7E2164 #357E21 #217E69
monochromatic
#1D0817 #4E143E #7E2164 #AE2E8A #D04AAA

Accessibility & contrast

On white

9.18
#7E2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2164
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2164#FFFFFF#000000##FFFFFF
##7E21641.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E66
Deuteranopia (green-blind)
#464D62
Tritanopia (blue-blind)
#86233F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2164;
/* rgb */ color: rgb(126, 33, 100);
/* oklch */ color: oklch(42.0% 0.147 341.3);
Tailwind
colors: {
  custom: {
    50: '#a76590',
    500: '#7e2164',
    950: '#000000',
  },
}
SCSS
$custom: #7e2164;
$custom-light: #a76590;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2164",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 316.774,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.1468,
    "h": 341.3
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#7E2164
secondary
#4AB167
accent
#E27246
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2164

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

Preview Lab → · Contrast checker → · Palette generator →

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