#7E1468#7E1468

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

Color values

HEX#7E1468
RGBrgb(126, 20, 104)
HSLhsl(312, 73%, 29%)
HSVhsv(312, 84%, 49%)
CMYKcmyk(0%, 84.1%, 17.5%, 50.6%)
CIE-LABlab(29.25, 51.19, -22.06)
CIE-LCHlch(29.25, 55.74, 336.69°)
OKLaboklab(41.19% 0.1521 -0.0599)
OKLCHoklch(41.19% 0.164 338.5)
XYZxyz(11.3533, 5.9365, 13.6420)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1468 #147E2A
analogous
#5F147E #7E1468 #7E1433
triadic
#7E1468 #687E14 #14687E
tetradic
#7E1468 #7E5F14 #147E2A #14337E
square
#7E1468 #7E5F14 #147E2A #14337E
split-complementary
#7E1468 #337E14 #147E5F
monochromatic
#1A0416 #490C3C #7E1468 #B31C94 #DE2EB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1468#FFFFFF#000000##FFFFFF
##7E14681.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)
#1B3B6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#861A3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1468;
/* rgb */ color: rgb(126, 20, 104);
/* oklch */ color: oklch(41.2% 0.164 338.5);
Tailwind
colors: {
  custom: {
    50: '#a76193',
    500: '#7e1468',
    950: '#000000',
  },
}
SCSS
$custom: #7e1468;
$custom-light: #a76193;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1468",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 312.453,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.1635,
    "h": 338.5
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#7E1468
secondary
#3AB354
accent
#EF5E38
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1468

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

Preview Lab → · Contrast checker → · Palette generator →

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