#7E1C53#7E1C53

#7E1C53 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.142 H 351.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1C53
RGBrgb(126, 28, 83)
HSLhsl(326, 64%, 30%)
HSVhsv(326, 78%, 49%)
CMYKcmyk(0%, 77.8%, 34.1%, 50.6%)
CIE-LABlab(29.14, 45.97, -8.52)
CIE-LCHlch(29.14, 46.75, 349.50°)
OKLaboklab(40.8% 0.1407 -0.0221)
OKLCHoklch(40.8% 0.142 351.1)
XYZxyz(10.5814, 5.8919, 8.7620)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C53 #1C7E47
analogous
#781C7E #7E1C53 #7E1C22
triadic
#7E1C53 #537E1C #1C537E
tetradic
#7E1C53 #7E781C #1C7E47 #1C227E
square
#7E1C53 #7E781C #1C7E47 #1C227E
split-complementary
#7E1C53 #227E1C #1C7E78
monochromatic
#1A0611 #4C1132 #7E1C53 #B02774 #D54093

Accessibility & contrast

On white

9.64
#7E1C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C53
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C53#FFFFFF#000000##FFFFFF
##7E1C531.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1c53;
/* rgb */ color: rgb(126, 28, 83);
/* oklch */ color: oklch(40.8% 0.142 351.1);
Tailwind
colors: {
  custom: {
    50: '#a76383',
    500: '#7e1c53',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c53;
$custom-light: #a76383;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c53",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 326.327,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40796,
    "c": 0.14246,
    "h": 351.1
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#7E1C53
secondary
#44B274
accent
#E78A41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1C53

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

Preview Lab → · Contrast checker → · Palette generator →

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