#7E104E#7E104E

#7E104E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.151 H 352.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E104E
RGBrgb(126, 16, 78)
HSLhsl(326, 77%, 28%)
HSVhsv(326, 87%, 49%)
CMYKcmyk(0%, 87.3%, 38.1%, 50.6%)
CIE-LABlab(27.73, 48.84, -7.33)
CIE-LCHlch(27.73, 49.39, 351.47°)
OKLaboklab(39.71% 0.1503 -0.0188)
OKLCHoklch(39.71% 0.151 352.9)
XYZxyz(10.1653, 5.3576, 7.7051)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E104E #107E40
analogous
#77107E #7E104E #7E1017
triadic
#7E104E #4E7E10 #104E7E
tetradic
#7E104E #7E7710 #107E40 #10177E
square
#7E104E #7E7710 #107E40 #10177E
split-complementary
#7E104E #177E10 #107E77
monochromatic
#1B0311 #48092C #7E104E #B41770 #E32590

Accessibility & contrast

On white

10.14
#7E104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E104E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E104E#FFFFFF#000000##FFFFFF
##7E104E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#88002E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e104e;
/* rgb */ color: rgb(126, 16, 78);
/* oklch */ color: oklch(39.7% 0.151 352.9);
Tailwind
colors: {
  custom: {
    50: '#a85e7f',
    500: '#7e104e',
    950: '#000000',
  },
}
SCSS
$custom: #7e104e;
$custom-light: #a85e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e104e",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 326.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.15148,
    "h": 352.9
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#7E104E
secondary
#36B46D
accent
#F48834
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E104E

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

Preview Lab → · Contrast checker → · Palette generator →

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