#7E1861#7E1861

#7E1861 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.155 H 342.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E1861
RGBrgb(126, 24, 97)
HSLhsl(317, 68%, 29%)
HSVhsv(317, 81%, 49%)
CMYKcmyk(0%, 81%, 23%, 50.6%)
CIE-LABlab(29.29, 49.08, -17.45)
CIE-LCHlch(29.29, 52.10, 340.42°)
OKLaboklab(41.11% 0.1478 -0.0469)
OKLCHoklch(41.11% 0.155 342.4)
XYZxyz(11.0889, 5.9531, 11.8720)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1861 #187E35
analogous
#68187E #7E1861 #7E182E
triadic
#7E1861 #617E18 #18617E
tetradic
#7E1861 #7E6818 #187E35 #182E7E
square
#7E1861 #7E6818 #187E35 #182E7E
split-complementary
#7E1861 #2E7E18 #187E68
monochromatic
#1A0514 #4B0E39 #7E1861 #B12289 #D937AB

Accessibility & contrast

On white

9.59
#7E1861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1861
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1861#FFFFFF#000000##FFFFFF
##7E18611.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A63
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#86193B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1861;
/* rgb */ color: rgb(126, 24, 97);
/* oklch */ color: oklch(41.1% 0.155 342.4);
Tailwind
colors: {
  custom: {
    50: '#a7628e',
    500: '#7e1861',
    950: '#000000',
  },
}
SCSS
$custom: #7e1861;
$custom-light: #a7628e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1861",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 317.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41108,
    "c": 0.15507,
    "h": 342.4
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#7E1861
secondary
#3FB260
accent
#EB6E3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1861

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

Preview Lab → · Contrast checker → · Palette generator →

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