#7E2E55#7E2E55

#7E2E55 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.9% C 0.119 H 353.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7E2E55
RGBrgb(126, 46, 85)
HSLhsl(331, 47%, 34%)
HSVhsv(331, 63%, 49%)
CMYKcmyk(0%, 63.5%, 32.5%, 50.6%)
CIE-LABlab(31.91, 38.76, -5.66)
CIE-LCHlch(31.91, 39.18, 351.69°)
OKLaboklab(42.86% 0.118 -0.0145)
OKLCHoklch(42.86% 0.119 353)
XYZxyz(11.2214, 7.0467, 9.3617)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E55 #2E7E57
analogous
#7E2E7D #7E2E55 #7E2F2E
triadic
#7E2E55 #557E2E #2E557E
tetradic
#7E2E55 #7D7E2E #2E7E57 #2F2E7E
square
#7E2E55 #7D7E2E #2E7E57 #2F2E7E
split-complementary
#7E2E55 #2E7E2F #2E7D7E
monochromatic
#240D19 #511E37 #7E2E55 #AB3E73 #C56192

Accessibility & contrast

On white

8.72
#7E2E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E55
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E55#FFFFFF#000000##FFFFFF
##7E2E551.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4256
Deuteranopia (green-blind)
#505053
Tritanopia (blue-blind)
#87293E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2e55;
/* rgb */ color: rgb(126, 46, 85);
/* oklch */ color: oklch(42.9% 0.119 353.0);
Tailwind
colors: {
  custom: {
    50: '#a66b84',
    500: '#7e2e55',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e55;
$custom-light: #a66b84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e55",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 330.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.11889,
    "h": 353
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#7E2E55
secondary
#5CAC85
accent
#D69652
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2E55

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

Preview Lab → · Contrast checker → · Palette generator →

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