#7E2C55#7E2C55

#7E2C55 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.122 H 352.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E2C55
RGBrgb(126, 44, 85)
HSLhsl(330, 48%, 33%)
HSVhsv(330, 65%, 49%)
CMYKcmyk(0%, 65.1%, 32.5%, 50.6%)
CIE-LABlab(31.56, 39.71, -6.19)
CIE-LCHlch(31.56, 40.19, 351.15°)
OKLaboklab(42.61% 0.1209 -0.0159)
OKLCHoklch(42.61% 0.122 352.5)
XYZxyz(11.1451, 6.8940, 9.3363)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C55 #2C7E55
analogous
#7E2C7E #7E2C55 #7E2C2C
triadic
#7E2C55 #557E2C #2C557E
tetradic
#7E2C55 #7E7E2C #2C7E55 #2C2C7E
square
#7E2C55 #7E7E2C #2C7E55 #2C2C7E
split-complementary
#7E2C55 #2C7E2C #2C7E7E
monochromatic
#230C18 #511C36 #7E2C55 #AB3C74 #C75E92

Accessibility & contrast

On white

8.83
#7E2C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E2C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C55
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C55#FFFFFF#000000##FFFFFF
##7E2C551.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#4F5053
Tritanopia (blue-blind)
#87273D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2c55;
/* rgb */ color: rgb(126, 44, 85);
/* oklch */ color: oklch(42.6% 0.122 352.5);
Tailwind
colors: {
  custom: {
    50: '#a76a84',
    500: '#7e2c55',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c55;
$custom-light: #a76a84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c55",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 330,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.12197,
    "h": 352.5
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#7E2C55
secondary
#59AD83
accent
#D89450
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2C55

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

Preview Lab → · Contrast checker → · Palette generator →

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