#7E1864#7E1864

#7E1864 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.157 H 340.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E1864
RGBrgb(126, 24, 100)
HSLhsl(315, 68%, 29%)
HSVhsv(315, 81%, 49%)
CMYKcmyk(0%, 81%, 20.6%, 50.6%)
CIE-LABlab(29.44, 49.51, -19.18)
CIE-LCHlch(29.44, 53.09, 338.82°)
OKLaboklab(41.26% 0.1483 -0.0517)
OKLCHoklch(41.26% 0.157 340.8)
XYZxyz(11.2314, 6.0101, 12.6227)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1864 #187E32
analogous
#65187E #7E1864 #7E1831
triadic
#7E1864 #647E18 #18647E
tetradic
#7E1864 #7E6518 #187E32 #18317E
square
#7E1864 #7E6518 #187E32 #18317E
split-complementary
#7E1864 #317E18 #187E65
monochromatic
#1A0514 #4B0E3B #7E1864 #B1228D #D937B0

Accessibility & contrast

On white

9.54
#7E1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1864
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1864#FFFFFF#000000##FFFFFF
##7E18641.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#434B62
Tritanopia (blue-blind)
#861B3D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1864;
/* rgb */ color: rgb(126, 24, 100);
/* oklch */ color: oklch(41.3% 0.157 340.8);
Tailwind
colors: {
  custom: {
    50: '#a76290',
    500: '#7e1864',
    950: '#000000',
  },
}
SCSS
$custom: #7e1864;
$custom-light: #a76290;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1864",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 315.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.15704,
    "h": 340.8
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#7E1864
secondary
#3FB25D
accent
#EB693D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1864

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

Preview Lab → · Contrast checker → · Palette generator →

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