#7E2755#7E2755

#7E2755 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.129 H 351.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7E2755
RGBrgb(126, 39, 85)
HSLhsl(328, 53%, 32%)
HSVhsv(328, 69%, 49%)
CMYKcmyk(0%, 69%, 32.5%, 50.6%)
CIE-LABlab(30.74, 41.95, -7.41)
CIE-LCHlch(30.74, 42.60, 349.98°)
OKLaboklab(42% 0.1279 -0.0192)
OKLCHoklch(42% 0.129 351.5)
XYZxyz(10.9700, 6.5437, 9.2779)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2755 #277E50
analogous
#7C277E #7E2755 #7E272A
triadic
#7E2755 #557E27 #27557E
tetradic
#7E2755 #7E7C27 #277E50 #272A7E
square
#7E2755 #7E7C27 #277E50 #272A7E
split-complementary
#7E2755 #2A7E27 #277E7C
monochromatic
#210A16 #4F1935 #7E2755 #AD3575 #CA5593

Accessibility & contrast

On white

9.10
#7E2755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2755
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2755#FFFFFF#000000##FFFFFF
##7E27551.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E56
Deuteranopia (green-blind)
#4D4E53
Tritanopia (blue-blind)
#87223A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2755;
/* rgb */ color: rgb(126, 39, 85);
/* oklch */ color: oklch(42.0% 0.129 351.5);
Tailwind
colors: {
  custom: {
    50: '#a76884',
    500: '#7e2755',
    950: '#000000',
  },
}
SCSS
$custom: #7e2755;
$custom-light: #a76884;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2755",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 85
  },
  "hsl": {
    "h": 328.276,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42,
    "c": 0.12935,
    "h": 351.5
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#7E2755
secondary
#52AF7E
accent
#DC904C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E2755

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

Preview Lab → · Contrast checker → · Palette generator →

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