#7E2A64#7E2A64

#7E2A64 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.134 H 342.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7E2A64
RGBrgb(126, 42, 100)
HSLhsl(319, 50%, 33%)
HSVhsv(319, 67%, 49%)
CMYKcmyk(0%, 66.7%, 20.6%, 50.6%)
CIE-LABlab(31.84, 42.77, -15.47)
CIE-LCHlch(31.84, 45.48, 340.11°)
OKLaboklab(43% 0.1278 -0.0414)
OKLCHoklch(43% 0.134 342)
XYZxyz(11.7327, 7.0127, 12.7898)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A64 #2A7E44
analogous
#6E2A7E #7E2A64 #7E2A3A
triadic
#7E2A64 #647E2A #2A647E
tetradic
#7E2A64 #7E6E2A #2A7E44 #2A3A7E
square
#7E2A64 #7E6E2A #2A7E44 #2A3A7E
split-complementary
#7E2A64 #3A7E2A #2A7E6E
monochromatic
#220B1B #501B40 #7E2A64 #AC3988 #C85AA6

Accessibility & contrast

On white

8.74
#7E2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A64
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A64#FFFFFF#000000##FFFFFF
##7E2A641.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304266
Deuteranopia (green-blind)
#495062
Tritanopia (blue-blind)
#862B43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2a64;
/* rgb */ color: rgb(126, 42, 100);
/* oklch */ color: oklch(43.0% 0.134 342.0);
Tailwind
colors: {
  custom: {
    50: '#a66a90',
    500: '#7e2a64',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a64;
$custom-light: #a66a90;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a64",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 318.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43003,
    "c": 0.13435,
    "h": 342
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#7E2A64
secondary
#56AE71
accent
#DA794E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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