#7E1D53#7E1D53

#7E1D53 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.141 H 351.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E1D53
RGBrgb(126, 29, 83)
HSLhsl(327, 63%, 30%)
HSVhsv(327, 77%, 49%)
CMYKcmyk(0%, 77%, 34.1%, 50.6%)
CIE-LABlab(29.26, 45.62, -8.34)
CIE-LCHlch(29.26, 46.38, 349.64°)
OKLaboklab(40.89% 0.1396 -0.0216)
OKLCHoklch(40.89% 0.141 351.2)
XYZxyz(10.6055, 5.9401, 8.7700)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D53 #1D7E48
analogous
#781D7E #7E1D53 #7E1D22
triadic
#7E1D53 #537E1D #1D537E
tetradic
#7E1D53 #7E781D #1D7E48 #1D227E
square
#7E1D53 #7E781D #1D7E48 #1D227E
split-complementary
#7E1D53 #227E1D #1D7E78
monochromatic
#1B0611 #4C1232 #7E1D53 #B02874 #D34293

Accessibility & contrast

On white

9.60
#7E1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D53
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D53#FFFFFF#000000##FFFFFF
##7E1D531.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A54
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#881635
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d53;
/* rgb */ color: rgb(126, 29, 83);
/* oklch */ color: oklch(40.9% 0.141 351.2);
Tailwind
colors: {
  custom: {
    50: '#a76383',
    500: '#7e1d53',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d53;
$custom-light: #a76383;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d53",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 326.598,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.1413,
    "h": 351.2
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#7E1D53
secondary
#45B175
accent
#E68B42
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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