#7E1A57#7E1A57

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

Color values

HEX#7E1A57
RGBrgb(126, 26, 87)
HSLhsl(323, 66%, 30%)
HSVhsv(323, 79%, 49%)
CMYKcmyk(0%, 79.4%, 31%, 50.6%)
CIE-LABlab(29.07, 47.13, -11.26)
CIE-LCHlch(29.07, 48.46, 346.56°)
OKLaboklab(40.8% 0.1439 -0.0296)
OKLCHoklch(40.8% 0.147 348.4)
XYZxyz(10.6944, 5.8638, 9.5836)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A57 #1A7E41
analogous
#731A7E #7E1A57 #7E1A25
triadic
#7E1A57 #577E1A #1A577E
tetradic
#7E1A57 #7E731A #1A7E41 #1A257E
square
#7E1A57 #7E731A #1A7E41 #1A257E
split-complementary
#7E1A57 #257E1A #1A7E73
monochromatic
#190512 #4B1034 #7E1A57 #B1247A #D73C9A

Accessibility & contrast

On white

9.67
#7E1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A57
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A57#FFFFFF#000000##FFFFFF
##7E1A571.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#474B55
Tritanopia (blue-blind)
#871536
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a57;
/* rgb */ color: rgb(126, 26, 87);
/* oklch */ color: oklch(40.8% 0.147 348.4);
Tailwind
colors: {
  custom: {
    50: '#a76286',
    500: '#7e1a57',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a57;
$custom-light: #a76286;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a57",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 323.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.14688,
    "h": 348.4
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#7E1A57
secondary
#42B26E
accent
#E9813F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1A57

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

Preview Lab → · Contrast checker → · Palette generator →

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