#7E165E#7E165E

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

Color values

HEX#7E165E
RGBrgb(126, 22, 94)
HSLhsl(318, 70%, 29%)
HSVhsv(318, 83%, 49%)
CMYKcmyk(0%, 82.5%, 25.4%, 50.6%)
CIE-LABlab(28.95, 49.26, -16.03)
CIE-LCHlch(28.95, 51.80, 341.97°)
OKLaboklab(40.81% 0.1491 -0.0428)
OKLCHoklch(40.81% 0.155 344)
XYZxyz(10.9119, 5.8188, 11.1360)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E165E #167E36
analogous
#6A167E #7E165E #7E162A
triadic
#7E165E #5E7E16 #165E7E
tetradic
#7E165E #7E6A16 #167E36 #162A7E
square
#7E165E #7E6A16 #167E36 #162A7E
split-complementary
#7E165E #2A7E16 #167E6A
monochromatic
#1A0513 #4A0D37 #7E165E #B21F85 #DB33A8

Accessibility & contrast

On white

9.71
#7E165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E165E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E165E#FFFFFF#000000##FFFFFF
##7E165E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#871539
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e165e;
/* rgb */ color: rgb(126, 22, 94);
/* oklch */ color: oklch(40.8% 0.155 344.0);
Tailwind
colors: {
  custom: {
    50: '#a7618b',
    500: '#7e165e',
    950: '#000000',
  },
}
SCSS
$custom: #7e165e;
$custom-light: #a7618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e165e",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 318.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.15513,
    "h": 344
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#7E165E
secondary
#3DB361
accent
#ED723B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E165E

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

Preview Lab → · Contrast checker → · Palette generator →

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