#7E2762#7E2762

#7E2762 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.137 H 343.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7E2762
RGBrgb(126, 39, 98)
HSLhsl(319, 53%, 32%)
HSVhsv(319, 69%, 49%)
CMYKcmyk(0%, 69%, 22.2%, 50.6%)
CIE-LABlab(31.28, 43.77, -15.04)
CIE-LCHlch(31.28, 46.28, 341.03°)
OKLaboklab(42.57% 0.1313 -0.0402)
OKLCHoklch(42.57% 0.137 343)
XYZxyz(11.5347, 6.7696, 12.2521)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2762 #277E43
analogous
#6E277E #7E2762 #7E2737
triadic
#7E2762 #627E27 #27627E
tetradic
#7E2762 #7E6E27 #277E43 #27377E
square
#7E2762 #7E6E27 #277E43 #27377E
split-complementary
#7E2762 #377E27 #277E6E
monochromatic
#210A19 #4F193E #7E2762 #AD3586 #CA55A5

Accessibility & contrast

On white

8.92
#7E2762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2762
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2762#FFFFFF#000000##FFFFFF
##7E27621.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4064
Deuteranopia (green-blind)
#494F60
Tritanopia (blue-blind)
#862741
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2762;
/* rgb */ color: rgb(126, 39, 98);
/* oklch */ color: oklch(42.6% 0.137 343.0);
Tailwind
colors: {
  custom: {
    50: '#a6688e',
    500: '#7e2762',
    950: '#000000',
  },
}
SCSS
$custom: #7e2762;
$custom-light: #a6688e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2762",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 319.31,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.13733,
    "h": 343
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#7E2762
secondary
#52AF70
accent
#DC7A4C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2762

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

Preview Lab → · Contrast checker → · Palette generator →

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