#7E114E#7E114E

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

Color values

HEX#7E114E
RGBrgb(126, 17, 78)
HSLhsl(326, 76%, 28%)
HSVhsv(326, 87%, 49%)
CMYKcmyk(0%, 86.5%, 38.1%, 50.6%)
CIE-LABlab(27.81, 48.61, -7.20)
CIE-LCHlch(27.81, 49.14, 351.57°)
OKLaboklab(39.77% 0.1496 -0.0185)
OKLCHoklch(39.77% 0.151 353)
XYZxyz(10.1805, 5.3879, 7.7101)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E114E #117E41
analogous
#77117E #7E114E #7E1117
triadic
#7E114E #4E7E11 #114E7E
tetradic
#7E114E #7E7711 #117E41 #11177E
square
#7E114E #7E7711 #117E41 #11177E
split-complementary
#7E114E #177E11 #117E77
monochromatic
#1B0411 #480A2D #7E114E #B4186F #E22790

Accessibility & contrast

On white

10.11
#7E114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E114E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E114E#FFFFFF#000000##FFFFFF
##7E114E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#88002F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e114e;
/* rgb */ color: rgb(126, 17, 78);
/* oklch */ color: oklch(39.8% 0.151 353.0);
Tailwind
colors: {
  custom: {
    50: '#a85f7f',
    500: '#7e114e',
    950: '#000000',
  },
}
SCSS
$custom: #7e114e;
$custom-light: #a85f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e114e",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 326.422,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39767,
    "c": 0.1507,
    "h": 353
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#7E114E
secondary
#37B46E
accent
#F38935
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E114E

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

Preview Lab → · Contrast checker → · Palette generator →

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