#7E2D60#7E2D60

#7E2D60 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.127 H 345.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7E2D60
RGBrgb(126, 45, 96)
HSLhsl(322, 47%, 34%)
HSVhsv(322, 64%, 49%)
CMYKcmyk(0%, 64.3%, 23.8%, 50.6%)
CIE-LABlab(32.16, 40.80, -12.40)
CIE-LCHlch(32.16, 42.64, 343.10°)
OKLaboklab(43.19% 0.1227 -0.0329)
OKLCHoklch(43.19% 0.127 345)
XYZxyz(11.6543, 7.1580, 11.8319)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D60 #2D7E4B
analogous
#732D7E #7E2D60 #7E2D37
triadic
#7E2D60 #607E2D #2D607E
tetradic
#7E2D60 #7E732D #2D7E4B #2D377E
square
#7E2D60 #7E732D #2D7E4B #2D377E
split-complementary
#7E2D60 #377E2D #2D7E73
monochromatic
#240D1B #511D3E #7E2D60 #AB3D82 #C65FA0

Accessibility & contrast

On white

8.64
#7E2D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E2D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D60
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D60#FFFFFF#000000##FFFFFF
##7E2D601.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354362
Deuteranopia (green-blind)
#4C515E
Tritanopia (blue-blind)
#862C42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2d60;
/* rgb */ color: rgb(126, 45, 96);
/* oklch */ color: oklch(43.2% 0.127 345.0);
Tailwind
colors: {
  custom: {
    50: '#a66b8d',
    500: '#7e2d60',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d60;
$custom-light: #a66b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d60",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 322.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.12701,
    "h": 345
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#7E2D60
secondary
#5AAC79
accent
#D78351
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2D60

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

Preview Lab → · Contrast checker → · Palette generator →

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