#7E1366#7E1366

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

Color values

HEX#7E1366
RGBrgb(126, 19, 102)
HSLhsl(313, 74%, 28%)
HSVhsv(313, 85%, 49%)
CMYKcmyk(0%, 84.9%, 19%, 50.6%)
CIE-LABlab(29.06, 51.16, -21.06)
CIE-LCHlch(29.06, 55.33, 337.62°)
OKLaboklab(41.02% 0.1527 -0.057)
OKLCHoklch(41.02% 0.163 339.5)
XYZxyz(11.2357, 5.8618, 13.1075)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1366 #137E2B
analogous
#60137E #7E1366 #7E1330
triadic
#7E1366 #667E13 #13667E
tetradic
#7E1366 #7E6013 #137E2B #13307E
square
#7E1366 #7E6013 #137E2B #13307E
split-complementary
#7E1366 #307E13 #137E60
monochromatic
#1B0416 #490B3B #7E1366 #B31B91 #DF2CB7

Accessibility & contrast

On white

9.67
#7E1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1366
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1366#FFFFFF#000000##FFFFFF
##7E13661.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#404A64
Tritanopia (blue-blind)
#86183C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1366;
/* rgb */ color: rgb(126, 19, 102);
/* oklch */ color: oklch(41.0% 0.163 339.5);
Tailwind
colors: {
  custom: {
    50: '#a76092',
    500: '#7e1366',
    950: '#000000',
  },
}
SCSS
$custom: #7e1366;
$custom-light: #a76092;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1366",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 313.458,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.16302,
    "h": 339.5
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#7E1366
secondary
#39B455
accent
#F06137
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7E1366

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

Preview Lab → · Contrast checker → · Palette generator →

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