#7E1860#7E1860

#7E1860 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.154 H 343.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E1860
RGBrgb(126, 24, 96)
HSLhsl(318, 68%, 29%)
HSVhsv(318, 81%, 49%)
CMYKcmyk(0%, 81%, 23.8%, 50.6%)
CIE-LABlab(29.25, 48.95, -16.88)
CIE-LCHlch(29.25, 51.77, 340.98°)
OKLaboklab(41.06% 0.1477 -0.0452)
OKLCHoklch(41.06% 0.154 343)
XYZxyz(11.0426, 5.9346, 11.6280)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1860 #187E36
analogous
#69187E #7E1860 #7E182D
triadic
#7E1860 #607E18 #18607E
tetradic
#7E1860 #7E6918 #187E36 #182D7E
square
#7E1860 #7E6918 #187E36 #182D7E
split-complementary
#7E1860 #2D7E18 #187E69
monochromatic
#1A0514 #4B0E39 #7E1860 #B12287 #D937A9

Accessibility & contrast

On white

9.60
#7E1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1860
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1860#FFFFFF#000000##FFFFFF
##7E18601.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A62
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#87183A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1860;
/* rgb */ color: rgb(126, 24, 96);
/* oklch */ color: oklch(41.1% 0.154 343.0);
Tailwind
colors: {
  custom: {
    50: '#a7628d',
    500: '#7e1860',
    950: '#000000',
  },
}
SCSS
$custom: #7e1860;
$custom-light: #a7628d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1860",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 317.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.15443,
    "h": 343
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7E1860
secondary
#3FB261
accent
#EB703D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1860

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

Preview Lab → · Contrast checker → · Palette generator →

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