#7E2D64#7E2D64

#7E2D64 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.130 H 342.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7E2D64
RGBrgb(126, 45, 100)
HSLhsl(319, 47%, 34%)
HSVhsv(319, 64%, 49%)
CMYKcmyk(0%, 64.3%, 20.6%, 50.6%)
CIE-LABlab(32.33, 41.40, -14.71)
CIE-LCHlch(32.33, 43.94, 340.44°)
OKLaboklab(43.37% 0.1237 -0.0393)
OKLCHoklch(43.37% 0.13 342.4)
XYZxyz(11.8431, 7.2336, 12.8266)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D64 #2D7E47
analogous
#6F2D7E #7E2D64 #7E2D3B
triadic
#7E2D64 #647E2D #2D647E
tetradic
#7E2D64 #7E6F2D #2D7E47 #2D3B7E
square
#7E2D64 #7E6F2D #2D7E47 #2D3B7E
split-complementary
#7E2D64 #3B7E2D #2D7E6F
monochromatic
#240D1C #511D40 #7E2D64 #AB3D88 #C65FA5

Accessibility & contrast

On white

8.58
#7E2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7E2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D64
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D64#FFFFFF#000000##FFFFFF
##7E2D641.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2d64;
/* rgb */ color: rgb(126, 45, 100);
/* oklch */ color: oklch(43.4% 0.130 342.4);
Tailwind
colors: {
  custom: {
    50: '#a66b90',
    500: '#7e2d64',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d64;
$custom-light: #a66b90;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d64",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 319.259,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.12977,
    "h": 342.4
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#7E2D64
secondary
#5AAC75
accent
#D77C51
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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