#7E2756#7E2756

#7E2756 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.130 H 350.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7E2756
RGBrgb(126, 39, 86)
HSLhsl(328, 53%, 32%)
HSVhsv(328, 69%, 49%)
CMYKcmyk(0%, 69%, 31.7%, 50.6%)
CIE-LABlab(30.78, 42.09, -8.01)
CIE-LCHlch(30.78, 42.84, 349.22°)
OKLaboklab(42.04% 0.1282 -0.0208)
OKLCHoklch(42.04% 0.13 350.8)
XYZxyz(11.0100, 6.5597, 9.4886)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2756 #277E4F
analogous
#7A277E #7E2756 #7E272B
triadic
#7E2756 #567E27 #27567E
tetradic
#7E2756 #7E7A27 #277E4F #272B7E
square
#7E2756 #7E7A27 #277E4F #272B7E
split-complementary
#7E2756 #2B7E27 #277E7A
monochromatic
#210A16 #4F1936 #7E2756 #AD3576 #CA5594

Accessibility & contrast

On white

9.08
#7E2756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2756
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2756#FFFFFF#000000##FFFFFF
##7E27561.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343F57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#87223B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2756;
/* rgb */ color: rgb(126, 39, 86);
/* oklch */ color: oklch(42.0% 0.130 350.8);
Tailwind
colors: {
  custom: {
    50: '#a76885',
    500: '#7e2756',
    950: '#000000',
  },
}
SCSS
$custom: #7e2756;
$custom-light: #a76885;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2756",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 327.586,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4204,
    "c": 0.1299,
    "h": 350.8
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#7E2756
secondary
#52AF7D
accent
#DC8E4C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E2756

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

Preview Lab → · Contrast checker → · Palette generator →

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