#7E1466#7E1466

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

Color values

HEX#7E1466
RGBrgb(126, 20, 102)
HSLhsl(314, 73%, 29%)
HSVhsv(314, 84%, 49%)
CMYKcmyk(0%, 84.1%, 19%, 50.6%)
CIE-LABlab(29.15, 50.91, -20.92)
CIE-LCHlch(29.15, 55.04, 337.66°)
OKLaboklab(41.08% 0.1519 -0.0567)
OKLCHoklch(41.08% 0.162 339.5)
XYZxyz(11.2529, 5.8964, 13.1133)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1466 #147E2C
analogous
#61147E #7E1466 #7E1431
triadic
#7E1466 #667E14 #14667E
tetradic
#7E1466 #7E6114 #147E2C #14317E
square
#7E1466 #7E6114 #147E2C #14317E
split-complementary
#7E1466 #317E14 #147E61
monochromatic
#1A0415 #490C3B #7E1466 #B31C91 #DE2EB6

Accessibility & contrast

On white

9.64
#7E1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1466
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1466#FFFFFF#000000##FFFFFF
##7E14661.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#86193D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1466;
/* rgb */ color: rgb(126, 20, 102);
/* oklch */ color: oklch(41.1% 0.162 339.5);
Tailwind
colors: {
  custom: {
    50: '#a76192',
    500: '#7e1466',
    950: '#000000',
  },
}
SCSS
$custom: #7e1466;
$custom-light: #a76192;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1466",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 313.585,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41084,
    "c": 0.16215,
    "h": 339.5
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#7E1466
secondary
#3AB356
accent
#EF6238
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7E1466

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

Preview Lab → · Contrast checker → · Palette generator →

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