#7E2A62#7E2A62

#7E2A62 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.133 H 343.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7E2A62
RGBrgb(126, 42, 98)
HSLhsl(320, 50%, 33%)
HSVhsv(320, 67%, 49%)
CMYKcmyk(0%, 66.7%, 22.2%, 50.6%)
CIE-LABlab(31.75, 42.46, -14.32)
CIE-LCHlch(31.75, 44.81, 341.36°)
OKLaboklab(42.91% 0.1273 -0.0382)
OKLCHoklch(42.91% 0.133 343.3)
XYZxyz(11.6371, 6.9745, 12.2862)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A62 #2A7E46
analogous
#702A7E #7E2A62 #7E2A38
triadic
#7E2A62 #627E2A #2A627E
tetradic
#7E2A62 #7E702A #2A7E46 #2A387E
square
#7E2A62 #7E702A #2A7E46 #2A387E
split-complementary
#7E2A62 #387E2A #2A7E70
monochromatic
#220B1B #501B3E #7E2A62 #AC3986 #C85AA3

Accessibility & contrast

On white

8.77
#7E2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A62
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A62#FFFFFF#000000##FFFFFF
##7E2A621.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314264
Deuteranopia (green-blind)
#4A5060
Tritanopia (blue-blind)
#862A42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2a62;
/* rgb */ color: rgb(126, 42, 98);
/* oklch */ color: oklch(42.9% 0.133 343.3);
Tailwind
colors: {
  custom: {
    50: '#a66a8e',
    500: '#7e2a62',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a62;
$custom-light: #a66a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a62",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 320,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.13295,
    "h": 343.3
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#7E2A62
secondary
#56AE73
accent
#DA7D4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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