#7E1859#7E1859

#7E1859 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.150 H 347.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7E1859
RGBrgb(126, 24, 89)
HSLhsl(322, 68%, 29%)
HSVhsv(322, 81%, 49%)
CMYKcmyk(0%, 81%, 29.4%, 50.6%)
CIE-LABlab(28.93, 48.02, -12.78)
CIE-LCHlch(28.93, 49.69, 345.09°)
OKLaboklab(40.73% 0.1463 -0.0338)
OKLCHoklch(40.73% 0.15 347)
XYZxyz(10.7345, 5.8114, 10.0057)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1859 #187E3D
analogous
#70187E #7E1859 #7E1826
triadic
#7E1859 #597E18 #18597E
tetradic
#7E1859 #7E7018 #187E3D #18267E
square
#7E1859 #7E7018 #187E3D #18267E
split-complementary
#7E1859 #267E18 #187E70
monochromatic
#1A0512 #4B0E35 #7E1859 #B1227D #D9379E

Accessibility & contrast

On white

9.71
#7E1859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1859
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1859#FFFFFF#000000##FFFFFF
##7E18591.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#464A57
Tritanopia (blue-blind)
#871437
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1859;
/* rgb */ color: rgb(126, 24, 89);
/* oklch */ color: oklch(40.7% 0.150 347.0);
Tailwind
colors: {
  custom: {
    50: '#a76188',
    500: '#7e1859',
    950: '#000000',
  },
}
SCSS
$custom: #7e1859;
$custom-light: #a76188;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1859",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 321.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.15013,
    "h": 347
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#7E1859
secondary
#3FB269
accent
#EB7C3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1859

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

Preview Lab → · Contrast checker → · Palette generator →

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