#7E2C56#7E2C56

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

Color values

HEX#7E2C56
RGBrgb(126, 44, 86)
HSLhsl(329, 48%, 33%)
HSVhsv(329, 65%, 49%)
CMYKcmyk(0%, 65.1%, 31.7%, 50.6%)
CIE-LABlab(31.60, 39.84, -6.78)
CIE-LCHlch(31.60, 40.42, 350.34°)
OKLaboklab(42.64% 0.1213 -0.0175)
OKLCHoklch(42.64% 0.123 351.8)
XYZxyz(11.1851, 6.9100, 9.5470)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C56 #2C7E54
analogous
#7D2C7E #7E2C56 #7E2C2D
triadic
#7E2C56 #567E2C #2C567E
tetradic
#7E2C56 #7E7D2C #2C7E54 #2C2D7E
square
#7E2C56 #7E7D2C #2C7E54 #2C2D7E
split-complementary
#7E2C56 #2D7E2C #2C7E7D
monochromatic
#230C18 #511C37 #7E2C56 #AB3C75 #C75E93

Accessibility & contrast

On white

8.82
#7E2C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C56
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C56#FFFFFF#000000##FFFFFF
##7E2C561.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384157
Deuteranopia (green-blind)
#4E5054
Tritanopia (blue-blind)
#87283D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2c56;
/* rgb */ color: rgb(126, 44, 86);
/* oklch */ color: oklch(42.6% 0.123 351.8);
Tailwind
colors: {
  custom: {
    50: '#a66a85',
    500: '#7e2c56',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c56;
$custom-light: #a66a85;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c56",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 329.268,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.12251,
    "h": 351.8
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#7E2C56
secondary
#59AD82
accent
#D89250
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2C56

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

Preview Lab → · Contrast checker → · Palette generator →

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