#7E1458#7E1458

#7E1458 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.153 H 347.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E1458
RGBrgb(126, 20, 88)
HSLhsl(322, 73%, 29%)
HSVhsv(322, 84%, 49%)
CMYKcmyk(0%, 84.1%, 30.2%, 50.6%)
CIE-LABlab(28.49, 49.03, -12.80)
CIE-LCHlch(28.49, 50.67, 345.37°)
OKLaboklab(40.39% 0.1496 -0.0338)
OKLCHoklch(40.39% 0.153 347.3)
XYZxyz(10.6163, 5.6418, 9.7605)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1458 #147E3A
analogous
#6F147E #7E1458 #7E1423
triadic
#7E1458 #587E14 #14587E
tetradic
#7E1458 #7E6F14 #147E3A #14237E
square
#7E1458 #7E6F14 #147E3A #14237E
split-complementary
#7E1458 #237E14 #147E6F
monochromatic
#1A0412 #490C33 #7E1458 #B31C7D #DE2E9F

Accessibility & contrast

On white

9.87
#7E1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1458
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1458#FFFFFF#000000##FFFFFF
##7E14581.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#870E35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1458;
/* rgb */ color: rgb(126, 20, 88);
/* oklch */ color: oklch(40.4% 0.153 347.3);
Tailwind
colors: {
  custom: {
    50: '#a76087',
    500: '#7e1458',
    950: '#000000',
  },
}
SCSS
$custom: #7e1458;
$custom-light: #a76087;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1458",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 321.509,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.1534,
    "h": 347.3
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#7E1458
secondary
#3AB366
accent
#EF7A38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1458

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

Preview Lab → · Contrast checker → · Palette generator →

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