#7E115D#7E115D

#7E115D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.159 H 344.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7E115D
RGBrgb(126, 17, 93)
HSLhsl(318, 76%, 28%)
HSVhsv(318, 87%, 49%)
CMYKcmyk(0%, 86.5%, 26.2%, 50.6%)
CIE-LABlab(28.45, 50.42, -16.14)
CIE-LCHlch(28.45, 52.94, 342.25°)
OKLaboklab(40.44% 0.153 -0.0431)
OKLCHoklch(40.44% 0.159 344.3)
XYZxyz(10.7809, 5.6281, 10.8724)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E115D #117E32
analogous
#68117E #7E115D #7E1126
triadic
#7E115D #5D7E11 #115D7E
tetradic
#7E115D #7E6811 #117E32 #11267E
square
#7E115D #7E6811 #117E32 #11267E
split-complementary
#7E115D #267E11 #117E68
monochromatic
#1B0414 #480A35 #7E115D #B41885 #E227A9

Accessibility & contrast

On white

9.88
#7E115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E115D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E115D#FFFFFF#000000##FFFFFF
##7E115D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21385F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#871037
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e115d;
/* rgb */ color: rgb(126, 17, 93);
/* oklch */ color: oklch(40.4% 0.159 344.3);
Tailwind
colors: {
  custom: {
    50: '#a75f8b',
    500: '#7e115d',
    950: '#000000',
  },
}
SCSS
$custom: #7e115d;
$custom-light: #a75f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e115d",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 318.165,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.15891,
    "h": 344.3
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#7E115D
secondary
#37B45D
accent
#F36E35
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E115D

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

Preview Lab → · Contrast checker → · Palette generator →

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