#7E115E#7E115E

#7E115E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.5% C 0.160 H 343.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7E115E
RGBrgb(126, 17, 94)
HSLhsl(318, 76%, 28%)
HSVhsv(318, 87%, 49%)
CMYKcmyk(0%, 86.5%, 25.4%, 50.6%)
CIE-LABlab(28.50, 50.55, -16.72)
CIE-LCHlch(28.50, 53.25, 341.69°)
OKLaboklab(40.49% 0.1531 -0.0448)
OKLCHoklch(40.49% 0.16 343.7)
XYZxyz(10.8255, 5.6459, 11.1072)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E115E #117E31
analogous
#67117E #7E115E #7E1127
triadic
#7E115E #5E7E11 #115E7E
tetradic
#7E115E #7E6711 #117E31 #11277E
square
#7E115E #7E6711 #117E31 #11277E
split-complementary
#7E115E #277E11 #117E67
monochromatic
#1B0414 #480A36 #7E115E #B41886 #E227AB

Accessibility & contrast

On white

9.86
#7E115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E115E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E115E#FFFFFF#000000##FFFFFF
##7E115E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203860
Deuteranopia (green-blind)
#43495C
Tritanopia (blue-blind)
#871038
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e115e;
/* rgb */ color: rgb(126, 17, 94);
/* oklch */ color: oklch(40.5% 0.160 343.7);
Tailwind
colors: {
  custom: {
    50: '#a75f8b',
    500: '#7e115e',
    950: '#000000',
  },
}
SCSS
$custom: #7e115e;
$custom-light: #a75f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e115e",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 317.615,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4049,
    "c": 0.15952,
    "h": 343.7
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#7E115E
secondary
#37B45C
accent
#F36D35
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E115E

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

Preview Lab → · Contrast checker → · Palette generator →

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