#7E165A#7E165A

#7E165A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.153 H 346.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7E165A
RGBrgb(126, 22, 90)
HSLhsl(321, 70%, 29%)
HSVhsv(321, 83%, 49%)
CMYKcmyk(0%, 82.5%, 28.6%, 50.6%)
CIE-LABlab(28.77, 48.73, -13.69)
CIE-LCHlch(28.77, 50.62, 344.31°)
OKLaboklab(40.62% 0.1483 -0.0363)
OKLCHoklch(40.62% 0.153 346.2)
XYZxyz(10.7371, 5.7489, 10.2151)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E165A #167E3A
analogous
#6E167E #7E165A #7E1626
triadic
#7E165A #5A7E16 #165A7E
tetradic
#7E165A #7E6E16 #167E3A #16267E
square
#7E165A #7E6E16 #167E3A #16267E
split-complementary
#7E165A #267E16 #167E6E
monochromatic
#1A0513 #4A0D35 #7E165A #B21F7F #DB33A1

Accessibility & contrast

On white

9.77
#7E165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E165A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E165A#FFFFFF#000000##FFFFFF
##7E165A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#871237
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e165a;
/* rgb */ color: rgb(126, 22, 90);
/* oklch */ color: oklch(40.6% 0.153 346.2);
Tailwind
colors: {
  custom: {
    50: '#a76188',
    500: '#7e165a',
    950: '#000000',
  },
}
SCSS
$custom: #7e165a;
$custom-light: #a76188;
$custom-dark: #000000;
JSON
{
  "hex": "#7e165a",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 320.769,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.15271,
    "h": 346.2
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#7E165A
secondary
#3DB366
accent
#ED783B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E165A

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

Preview Lab → · Contrast checker → · Palette generator →

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