#7E2464#7E2464

#7E2464 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 341.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7E2464
RGBrgb(126, 36, 100)
HSLhsl(317, 56%, 32%)
HSVhsv(317, 71%, 49%)
CMYKcmyk(0%, 71.4%, 20.6%, 50.6%)
CIE-LABlab(30.92, 45.30, -16.88)
CIE-LCHlch(30.92, 48.35, 339.56°)
OKLaboklab(42.34% 0.1355 -0.0453)
OKLCHoklch(42.34% 0.143 341.5)
XYZxyz(11.5356, 6.6186, 12.7241)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2464 #247E3E
analogous
#6B247E #7E2464 #7E2437
triadic
#7E2464 #647E24 #24647E
tetradic
#7E2464 #7E6B24 #247E3E #24377E
square
#7E2464 #7E6B24 #247E3E #24377E
split-complementary
#7E2464 #377E24 #247E6B
monochromatic
#1F0918 #4E163E #7E2464 #AE328A #CD50A9

Accessibility & contrast

On white

9.04
#7E2464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2464
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2464#FFFFFF#000000##FFFFFF
##7E24641.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F66
Deuteranopia (green-blind)
#474E62
Tritanopia (blue-blind)
#862540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2464;
/* rgb */ color: rgb(126, 36, 100);
/* oklch */ color: oklch(42.3% 0.143 341.5);
Tailwind
colors: {
  custom: {
    50: '#a76790',
    500: '#7e2464',
    950: '#000000',
  },
}
SCSS
$custom: #7e2464;
$custom-light: #a76790;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2464",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 100
  },
  "hsl": {
    "h": 317.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.14287,
    "h": 341.5
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#7E2464
secondary
#4EB06A
accent
#DF7449
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2464

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

Preview Lab → · Contrast checker → · Palette generator →

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