#7E2055#7E2055

#7E2055 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.139 H 350.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E2055
RGBrgb(126, 32, 85)
HSLhsl(326, 59%, 31%)
HSVhsv(326, 75%, 49%)
CMYKcmyk(0%, 74.6%, 32.5%, 50.6%)
CIE-LABlab(29.73, 44.78, -8.95)
CIE-LCHlch(29.73, 45.67, 348.70°)
OKLaboklab(41.25% 0.1368 -0.0233)
OKLCHoklch(41.25% 0.139 350.3)
XYZxyz(10.7610, 6.1257, 9.2083)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2055 #207E49
analogous
#78207E #7E2055 #7E2026
triadic
#7E2055 #557E20 #20557E
tetradic
#7E2055 #7E7820 #207E49 #20267E
square
#7E2055 #7E7820 #207E49 #20267E
split-complementary
#7E2055 #267E20 #207E78
monochromatic
#1C0713 #4D1434 #7E2055 #AF2C76 #D04895

Accessibility & contrast

On white

9.44
#7E2055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2055
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2055#FFFFFF#000000##FFFFFF
##7E20551.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B56
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#881A37
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2055;
/* rgb */ color: rgb(126, 32, 85);
/* oklch */ color: oklch(41.3% 0.139 350.3);
Tailwind
colors: {
  custom: {
    50: '#a76484',
    500: '#7e2055',
    950: '#000000',
  },
}
SCSS
$custom: #7e2055;
$custom-light: #a76484;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2055",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 85
  },
  "hsl": {
    "h": 326.17,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.13874,
    "h": 350.3
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#7E2055
secondary
#49B176
accent
#E38A45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E2055

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

Preview Lab → · Contrast checker → · Palette generator →

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