#7E1E53#7E1E53

#7E1E53 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.140 H 351.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7E1E53
RGBrgb(126, 30, 83)
HSLhsl(327, 62%, 31%)
HSVhsv(327, 76%, 49%)
CMYKcmyk(0%, 76.2%, 34.1%, 50.6%)
CIE-LABlab(29.39, 45.27, -8.15)
CIE-LCHlch(29.39, 46.00, 349.80°)
OKLaboklab(40.98% 0.1385 -0.0211)
OKLCHoklch(40.98% 0.14 351.3)
XYZxyz(10.6304, 5.9899, 8.7783)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E53 #1E7E49
analogous
#791E7E #7E1E53 #7E1E23
triadic
#7E1E53 #537E1E #1E537E
tetradic
#7E1E53 #7E791E #1E7E49 #1E237E
square
#7E1E53 #7E791E #1E7E49 #1E237E
split-complementary
#7E1E53 #237E1E #1E7E79
monochromatic
#1B0612 #4D1232 #7E1E53 #AF2A74 #D24493

Accessibility & contrast

On white

9.56
#7E1E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E53
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E53#FFFFFF#000000##FFFFFF
##7E1E531.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A54
Deuteranopia (green-blind)
#4A4B51
Tritanopia (blue-blind)
#881736
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e53;
/* rgb */ color: rgb(126, 30, 83);
/* oklch */ color: oklch(41.0% 0.140 351.3);
Tailwind
colors: {
  custom: {
    50: '#a76383',
    500: '#7e1e53',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e53;
$custom-light: #a76383;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e53",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 326.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.14012,
    "h": 351.3
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#7E1E53
secondary
#47B176
accent
#E58B43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E53

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

Preview Lab → · Contrast checker → · Palette generator →

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