#7E1558#7E1558

#7E1558 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.152 H 347.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7E1558
RGBrgb(126, 21, 88)
HSLhsl(322, 71%, 29%)
HSVhsv(322, 83%, 49%)
CMYKcmyk(0%, 83.3%, 30.2%, 50.6%)
CIE-LABlab(28.58, 48.76, -12.66)
CIE-LCHlch(28.58, 50.37, 345.45°)
OKLaboklab(40.46% 0.1488 -0.0334)
OKLCHoklch(40.46% 0.152 347.3)
XYZxyz(10.6344, 5.6778, 9.7665)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1558 #157E3B
analogous
#70157E #7E1558 #7E1524
triadic
#7E1558 #587E15 #15587E
tetradic
#7E1558 #7E7015 #157E3B #15247E
square
#7E1558 #7E7015 #157E3B #15247E
split-complementary
#7E1558 #247E15 #157E70
monochromatic
#1A0412 #4A0C33 #7E1558 #B21E7D #DD319E

Accessibility & contrast

On white

9.83
#7E1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1558
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1558#FFFFFF#000000##FFFFFF
##7E15581.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1558;
/* rgb */ color: rgb(126, 21, 88);
/* oklch */ color: oklch(40.5% 0.152 347.3);
Tailwind
colors: {
  custom: {
    50: '#a76087',
    500: '#7e1558',
    950: '#000000',
  },
}
SCSS
$custom: #7e1558;
$custom-light: #a76087;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1558",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 321.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.15249,
    "h": 347.3
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7E1558
secondary
#3CB367
accent
#EE7B3A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1558

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

Preview Lab → · Contrast checker → · Palette generator →

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