#7E2E64#7E2E64

#7E2E64 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.128 H 342.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2E64
RGBrgb(126, 46, 100)
HSLhsl(320, 47%, 34%)
HSVhsv(320, 63%, 49%)
CMYKcmyk(0%, 63.5%, 20.6%, 50.6%)
CIE-LABlab(32.50, 40.94, -14.45)
CIE-LCHlch(32.50, 43.41, 340.56°)
OKLaboklab(43.49% 0.1223 -0.0386)
OKLCHoklch(43.49% 0.128 342.5)
XYZxyz(11.8817, 7.3108, 12.8395)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E64 #2E7E48
analogous
#702E7E #7E2E64 #7E2E3C
triadic
#7E2E64 #647E2E #2E647E
tetradic
#7E2E64 #7E702E #2E7E48 #2E3C7E
square
#7E2E64 #7E702E #2E7E48 #2E3C7E
split-complementary
#7E2E64 #3C7E2E #2E7E70
monochromatic
#240D1D #511E40 #7E2E64 #AB3E88 #C561A5

Accessibility & contrast

On white

8.53
#7E2E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7E2E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E64
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E64#FFFFFF#000000##FFFFFF
##7E2E641.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344466
Deuteranopia (green-blind)
#4B5162
Tritanopia (blue-blind)
#862F44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2e64;
/* rgb */ color: rgb(126, 46, 100);
/* oklch */ color: oklch(43.5% 0.128 342.5);
Tailwind
colors: {
  custom: {
    50: '#a66c90',
    500: '#7e2e64',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e64;
$custom-light: #a66c90;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e64",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 319.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.12821,
    "h": 342.5
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#7E2E64
secondary
#5CAC76
accent
#D67D52
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2E64

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

Preview Lab → · Contrast checker → · Palette generator →

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