#7E165D#7E165D

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

Color values

HEX#7E165D
RGBrgb(126, 22, 93)
HSLhsl(319, 70%, 29%)
HSVhsv(319, 83%, 49%)
CMYKcmyk(0%, 82.5%, 26.2%, 50.6%)
CIE-LABlab(28.90, 49.12, -15.45)
CIE-LCHlch(28.90, 51.50, 342.55°)
OKLaboklab(40.77% 0.1489 -0.0412)
OKLCHoklch(40.77% 0.155 344.5)
XYZxyz(10.8674, 5.8010, 10.9012)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E165D #167E37
analogous
#6B167E #7E165D #7E1629
triadic
#7E165D #5D7E16 #165D7E
tetradic
#7E165D #7E6B16 #167E37 #16297E
square
#7E165D #7E6B16 #167E37 #16297E
split-complementary
#7E165D #297E16 #167E6B
monochromatic
#1A0513 #4A0D37 #7E165D #B21F83 #DB33A6

Accessibility & contrast

On white

9.72
#7E165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E165D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E165D#FFFFFF#000000##FFFFFF
##7E165D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#871538
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e165d;
/* rgb */ color: rgb(126, 22, 93);
/* oklch */ color: oklch(40.8% 0.155 344.5);
Tailwind
colors: {
  custom: {
    50: '#a7618b',
    500: '#7e165d',
    950: '#000000',
  },
}
SCSS
$custom: #7e165d;
$custom-light: #a7618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e165d",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 319.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.15451,
    "h": 344.5
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#7E165D
secondary
#3DB362
accent
#ED733B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E165D

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

Preview Lab → · Contrast checker → · Palette generator →

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