#7E1A55#7E1A55

#7E1A55 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.146 H 349.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7E1A55
RGBrgb(126, 26, 85)
HSLhsl(325, 66%, 30%)
HSVhsv(325, 79%, 49%)
CMYKcmyk(0%, 79.4%, 32.5%, 50.6%)
CIE-LABlab(28.98, 46.88, -10.07)
CIE-LCHlch(28.98, 47.95, 347.87°)
OKLaboklab(40.71% 0.1434 -0.0263)
OKLCHoklch(40.71% 0.146 349.6)
XYZxyz(10.6139, 5.8315, 9.1592)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A55 #1A7E43
analogous
#751A7E #7E1A55 #7E1A23
triadic
#7E1A55 #557E1A #1A557E
tetradic
#7E1A55 #7E751A #1A7E43 #1A237E
square
#7E1A55 #7E751A #1A7E43 #1A237E
split-complementary
#7E1A55 #237E1A #1A7E75
monochromatic
#190511 #4B1033 #7E1A55 #B12477 #D73C97

Accessibility & contrast

On white

9.70
#7E1A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A55
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A55#FFFFFF#000000##FFFFFF
##7E1A551.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#484B53
Tritanopia (blue-blind)
#881335
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a55;
/* rgb */ color: rgb(126, 26, 85);
/* oklch */ color: oklch(40.7% 0.146 349.6);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7e1a55',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a55;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a55",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 324.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.14576,
    "h": 349.6
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#7E1A55
secondary
#42B270
accent
#E9853F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1A55

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

Preview Lab → · Contrast checker → · Palette generator →

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