#7E2D62#7E2D62

#7E2D62 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.3% C 0.128 H 343.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7E2D62
RGBrgb(126, 45, 98)
HSLhsl(321, 47%, 34%)
HSVhsv(321, 64%, 49%)
CMYKcmyk(0%, 64.3%, 22.2%, 50.6%)
CIE-LABlab(32.25, 41.10, -13.56)
CIE-LCHlch(32.25, 43.28, 341.74°)
OKLaboklab(43.28% 0.1232 -0.0361)
OKLCHoklch(43.28% 0.128 343.7)
XYZxyz(11.7475, 7.1953, 12.3230)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D62 #2D7E49
analogous
#712D7E #7E2D62 #7E2D39
triadic
#7E2D62 #627E2D #2D627E
tetradic
#7E2D62 #7E712D #2D7E49 #2D397E
square
#7E2D62 #7E712D #2D7E49 #2D397E
split-complementary
#7E2D62 #397E2D #2D7E71
monochromatic
#240D1C #511D3F #7E2D62 #AB3D85 #C65FA3

Accessibility & contrast

On white

8.61
#7E2D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E2D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D62
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D62#FFFFFF#000000##FFFFFF
##7E2D621.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344364
Deuteranopia (green-blind)
#4C5160
Tritanopia (blue-blind)
#862D43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2d62;
/* rgb */ color: rgb(126, 45, 98);
/* oklch */ color: oklch(43.3% 0.128 343.7);
Tailwind
colors: {
  custom: {
    50: '#a66b8e',
    500: '#7e2d62',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d62;
$custom-light: #a66b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d62",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 320.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.12838,
    "h": 343.7
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#7E2D62
secondary
#5AAC77
accent
#D77F51
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2D62

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

Preview Lab → · Contrast checker → · Palette generator →

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