#7E1A50#7E1A50

#7E1A50 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.143 H 352.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1A50
RGBrgb(126, 26, 80)
HSLhsl(328, 66%, 30%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 79.4%, 36.5%, 50.6%)
CIE-LABlab(28.79, 46.28, -7.07)
CIE-LCHlch(28.79, 46.81, 351.31°)
OKLaboklab(40.5% 0.142 -0.0182)
OKLCHoklch(40.5% 0.143 352.7)
XYZxyz(10.4222, 5.7549, 8.1498)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A50 #1A7E48
analogous
#7A1A7E #7E1A50 #7E1A1E
triadic
#7E1A50 #507E1A #1A507E
tetradic
#7E1A50 #7E7A1A #1A7E48 #1A1E7E
square
#7E1A50 #7E7A1A #1A7E48 #1A1E7E
split-complementary
#7E1A50 #1E7E1A #1A7E7A
monochromatic
#190510 #4B1030 #7E1A50 #B12470 #D73C8F

Accessibility & contrast

On white

9.76
#7E1A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A50
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A50#FFFFFF#000000##FFFFFF
##7E1A501.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#881033
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1a50;
/* rgb */ color: rgb(126, 26, 80);
/* oklch */ color: oklch(40.5% 0.143 352.7);
Tailwind
colors: {
  custom: {
    50: '#a86281',
    500: '#7e1a50',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a50;
$custom-light: #a86281;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a50",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 327.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.14316,
    "h": 352.7
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#7E1A50
secondary
#42B275
accent
#E98D3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1A50

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

Preview Lab → · Contrast checker → · Palette generator →

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