#7E2E62#7E2E62

#7E2E62 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.127 H 343.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7E2E62
RGBrgb(126, 46, 98)
HSLhsl(321, 47%, 34%)
HSVhsv(321, 63%, 49%)
CMYKcmyk(0%, 63.5%, 22.2%, 50.6%)
CIE-LABlab(32.42, 40.63, -13.29)
CIE-LCHlch(32.42, 42.75, 341.88°)
OKLaboklab(43.4% 0.1218 -0.0354)
OKLCHoklch(43.4% 0.127 343.8)
XYZxyz(11.7861, 7.2725, 12.3359)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E62 #2E7E4A
analogous
#722E7E #7E2E62 #7E2E3A
triadic
#7E2E62 #627E2E #2E627E
tetradic
#7E2E62 #7E722E #2E7E4A #2E3A7E
square
#7E2E62 #7E722E #2E7E4A #2E3A7E
split-complementary
#7E2E62 #3A7E2E #2E7E72
monochromatic
#240D1C #511E3F #7E2E62 #AB3E85 #C561A2

Accessibility & contrast

On white

8.56
#7E2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E62
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E62#FFFFFF#000000##FFFFFF
##7E2E621.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2e62;
/* rgb */ color: rgb(126, 46, 98);
/* oklch */ color: oklch(43.4% 0.127 343.8);
Tailwind
colors: {
  custom: {
    50: '#a66c8e',
    500: '#7e2e62',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e62;
$custom-light: #a66c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e62",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 321,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.1268,
    "h": 343.8
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#7E2E62
secondary
#5CAC78
accent
#D68052
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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