#7E1165#7E1165

#7E1165 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.164 H 340.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7E1165
RGBrgb(126, 17, 101)
HSLhsl(314, 76%, 28%)
HSVhsv(314, 87%, 49%)
CMYKcmyk(0%, 86.5%, 19.8%, 50.6%)
CIE-LABlab(28.84, 51.50, -20.75)
CIE-LCHlch(28.84, 55.53, 338.05°)
OKLaboklab(40.85% 0.1541 -0.0562)
OKLCHoklch(40.85% 0.164 340)
XYZxyz(11.1539, 5.7773, 12.8371)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1165 #117E2A
analogous
#60117E #7E1165 #7E112F
triadic
#7E1165 #657E11 #11657E
tetradic
#7E1165 #7E6011 #117E2A #112F7E
square
#7E1165 #7E6011 #117E2A #112F7E
split-complementary
#7E1165 #2F7E11 #117E60
monochromatic
#1B0416 #480A3A #7E1165 #B41890 #E227B7

Accessibility & contrast

On white

9.74
#7E1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1165
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1165#FFFFFF#000000##FFFFFF
##7E11651.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3967
Deuteranopia (green-blind)
#404A63
Tritanopia (blue-blind)
#86163B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1165;
/* rgb */ color: rgb(126, 17, 101);
/* oklch */ color: oklch(40.8% 0.164 340.0);
Tailwind
colors: {
  custom: {
    50: '#a76091',
    500: '#7e1165',
    950: '#000000',
  },
}
SCSS
$custom: #7e1165;
$custom-light: #a76091;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1165",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 313.761,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.16399,
    "h": 340
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#7E1165
secondary
#37B453
accent
#F36135
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1165

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

Preview Lab → · Contrast checker → · Palette generator →

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