#7E2A61#7E2A61

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

Color values

HEX#7E2A61
RGBrgb(126, 42, 97)
HSLhsl(321, 50%, 33%)
HSVhsv(321, 67%, 49%)
CMYKcmyk(0%, 66.7%, 23%, 50.6%)
CIE-LABlab(31.71, 42.32, -13.74)
CIE-LCHlch(31.71, 44.49, 342.01°)
OKLaboklab(42.86% 0.1271 -0.0366)
OKLCHoklch(42.86% 0.132 343.9)
XYZxyz(11.5902, 6.9557, 12.0391)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A61 #2A7E47
analogous
#712A7E #7E2A61 #7E2A37
triadic
#7E2A61 #617E2A #2A617E
tetradic
#7E2A61 #7E712A #2A7E47 #2A377E
square
#7E2A61 #7E712A #2A7E47 #2A377E
split-complementary
#7E2A61 #377E2A #2A7E71
monochromatic
#220B1A #501B3E #7E2A61 #AC3984 #C85AA2

Accessibility & contrast

On white

8.78
#7E2A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A61
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A61#FFFFFF#000000##FFFFFF
##7E2A611.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324263
Deuteranopia (green-blind)
#4A505F
Tritanopia (blue-blind)
#862A41
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2a61;
/* rgb */ color: rgb(126, 42, 97);
/* oklch */ color: oklch(42.9% 0.132 343.9);
Tailwind
colors: {
  custom: {
    50: '#a66a8e',
    500: '#7e2a61',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a61;
$custom-light: #a66a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a61",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 320.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.13227,
    "h": 343.9
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#7E2A61
secondary
#56AE74
accent
#DA7E4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2A61

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

Preview Lab → · Contrast checker → · Palette generator →

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