#7E1E52#7E1E52

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

Color values

HEX#7E1E52
RGBrgb(126, 30, 82)
HSLhsl(328, 62%, 31%)
HSVhsv(328, 76%, 49%)
CMYKcmyk(0%, 76.2%, 34.9%, 50.6%)
CIE-LABlab(29.35, 45.15, -7.55)
CIE-LCHlch(29.35, 45.77, 350.51°)
OKLaboklab(40.94% 0.1382 -0.0195)
OKLCHoklch(40.94% 0.14 352)
XYZxyz(10.5921, 5.9746, 8.5764)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E52 #1E7E4A
analogous
#7A1E7E #7E1E52 #7E1E22
triadic
#7E1E52 #527E1E #1E527E
tetradic
#7E1E52 #7E7A1E #1E7E4A #1E227E
square
#7E1E52 #7E7A1E #1E7E4A #1E227E
split-complementary
#7E1E52 #227E1E #1E7E7A
monochromatic
#1B0612 #4D1232 #7E1E52 #AF2A72 #D24491

Accessibility & contrast

On white

9.57
#7E1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E52
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E52#FFFFFF#000000##FFFFFF
##7E1E521.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#881635
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e52;
/* rgb */ color: rgb(126, 30, 82);
/* oklch */ color: oklch(40.9% 0.140 352.0);
Tailwind
colors: {
  custom: {
    50: '#a76382',
    500: '#7e1e52',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e52;
$custom-light: #a76382;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e52",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 327.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.13961,
    "h": 352
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#7E1E52
secondary
#47B177
accent
#E58D43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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