#7E104D#7E104D

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

Color values

HEX#7E104D
RGBrgb(126, 16, 77)
HSLhsl(327, 77%, 28%)
HSVhsv(327, 87%, 49%)
CMYKcmyk(0%, 87.3%, 38.9%, 50.6%)
CIE-LABlab(27.69, 48.73, -6.72)
CIE-LCHlch(27.69, 49.20, 352.15°)
OKLaboklab(39.67% 0.15 -0.0172)
OKLCHoklch(39.67% 0.151 353.5)
XYZxyz(10.1297, 5.3433, 7.5177)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E104D #107E41
analogous
#78107E #7E104D #7E1016
triadic
#7E104D #4D7E10 #104D7E
tetradic
#7E104D #7E7810 #107E41 #10167E
square
#7E104D #7E7810 #107E41 #10167E
split-complementary
#7E104D #167E10 #107E78
monochromatic
#1B0311 #48092C #7E104D #B4176E #E3258F

Accessibility & contrast

On white

10.15
#7E104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E104D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E104D#FFFFFF#000000##FFFFFF
##7E104D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354E
Deuteranopia (green-blind)
#48484B
Tritanopia (blue-blind)
#89002E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e104d;
/* rgb */ color: rgb(126, 16, 77);
/* oklch */ color: oklch(39.7% 0.151 353.5);
Tailwind
colors: {
  custom: {
    50: '#a85e7e',
    500: '#7e104d',
    950: '#000000',
  },
}
SCSS
$custom: #7e104d;
$custom-light: #a85e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e104d",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 326.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.15101,
    "h": 353.5
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#7E104D
secondary
#36B46E
accent
#F48934
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E104D

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

Preview Lab → · Contrast checker → · Palette generator →

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