#E162A7#E162A7

#E162A7 is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.3% C 0.175 H 349.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#E162A7
RGBrgb(225, 98, 167)
HSLhsl(327, 68%, 63%)
HSVhsv(327, 56%, 88%)
CMYKcmyk(0%, 56.4%, 25.8%, 11.8%)
CIE-LABlab(59.47, 56.74, -12.68)
CIE-LCHlch(59.47, 58.14, 347.40°)
OKLaboklab(67.34% 0.1714 -0.0331)
OKLCHoklch(67.34% 0.175 349.1)
XYZxyz(42.3956, 27.5369, 39.6341)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E162A7 #62E19C
analogous
#DC62E1 #E162A7 #E16267
triadic
#E162A7 #A7E162 #62A7E1
tetradic
#E162A7 #E1DC62 #62E19C #6267E1
square
#E162A7 #E1DC62 #62E19C #6267E1
split-complementary
#E162A7 #67E162 #62E1DC
monochromatic
#A8206A #D72F8A #E162A7 #EB95C4 #F5C9E1

Accessibility & contrast

On white

3.23
#E162A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#E162A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E162A7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E162A7#FFFFFF#000000##000000
##E162A71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7181A9
Deuteranopia (green-blind)
#9397A4
Tritanopia (blue-blind)
#EF5E7D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e162a7;
/* rgb */ color: rgb(225, 98, 167);
/* oklch */ color: oklch(67.3% 0.175 349.1);
Tailwind
colors: {
  custom: {
    50: '#ee94c1',
    500: '#e162a7',
    950: '#000000',
  },
}
SCSS
$custom: #e162a7;
$custom-light: #ee94c1;
$custom-dark: #000000;
JSON
{
  "hex": "#e162a7",
  "rgb": {
    "r": 225,
    "g": 98,
    "b": 167
  },
  "hsl": {
    "h": 327.402,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.17454,
    "h": 349.1
  },
  "luminance": 0.27533
}

Semantic roles & 50–950 ramp

primary
#E162A7
secondary
#B9E6CD
accent
#D06B16
background
#FFF9FB
surface
#FEF2F7
border
#D6CCD0
text
#170E12
muted
#857E81

Preview Lab

Preview with #E162A7

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

Preview Lab → · Contrast checker → · Palette generator →

#E162A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva