#7E1A58#7E1A58

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

Color values

HEX#7E1A58
RGBrgb(126, 26, 88)
HSLhsl(323, 66%, 30%)
HSVhsv(323, 79%, 49%)
CMYKcmyk(0%, 79.4%, 30.2%, 50.6%)
CIE-LABlab(29.11, 47.26, -11.86)
CIE-LCHlch(29.11, 48.73, 345.92°)
OKLaboklab(40.84% 0.1441 -0.0312)
OKLCHoklch(40.84% 0.147 347.8)
XYZxyz(10.7356, 5.8802, 9.8003)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A58 #1A7E40
analogous
#721A7E #7E1A58 #7E1A26
triadic
#7E1A58 #587E1A #1A587E
tetradic
#7E1A58 #7E721A #1A7E40 #1A267E
square
#7E1A58 #7E721A #1A7E40 #1A267E
split-complementary
#7E1A58 #267E1A #1A7E72
monochromatic
#190512 #4B1035 #7E1A58 #B1247B #D73C9C

Accessibility & contrast

On white

9.65
#7E1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A58
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A58#FFFFFF#000000##FFFFFF
##7E1A581.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#871537
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1a58;
/* rgb */ color: rgb(126, 26, 88);
/* oklch */ color: oklch(40.8% 0.147 347.8);
Tailwind
colors: {
  custom: {
    50: '#a76287',
    500: '#7e1a58',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a58;
$custom-light: #a76287;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a58",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 322.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40841,
    "c": 0.14745,
    "h": 347.8
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#7E1A58
secondary
#42B26C
accent
#E9803F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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