#E162C8#E162C8

#E162C8 is a light, vivid pink. Relative luminance 0.289; OKLCH L 68.7% C 0.196 H 335.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#E162C8
RGBrgb(225, 98, 200)
HSLhsl(312, 68%, 63%)
HSVhsv(312, 56%, 88%)
CMYKcmyk(0%, 56.4%, 11.1%, 11.8%)
CIE-LABlab(60.71, 61.48, -29.68)
CIE-LCHlch(60.71, 68.27, 334.23°)
OKLaboklab(68.67% 0.1789 -0.0805)
OKLCHoklch(68.67% 0.196 335.8)
XYZxyz(45.8447, 28.9165, 57.7992)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E162C8 #62E17B
analogous
#BA62E1 #E162C8 #E16288
triadic
#E162C8 #C8E162 #62C8E1
tetradic
#E162C8 #E1BA62 #62E17B #6288E1
square
#E162C8 #E1BA62 #62E17B #6288E1
split-complementary
#E162C8 #88E162 #62E1BA
monochromatic
#A8208E #D72FB6 #E162C8 #EB95DA #F5C9EC

Accessibility & contrast

On white

3.10
#E162C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#E162C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E162C8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E162C8#FFFFFF#000000##000000
##E162C81.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#8999C5
Tritanopia (blue-blind)
#EB698C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #e162c8;
/* rgb */ color: rgb(225, 98, 200);
/* oklch */ color: oklch(68.7% 0.196 335.8);
Tailwind
colors: {
  custom: {
    50: '#ed95d9',
    500: '#e162c8',
    950: '#000000',
  },
}
SCSS
$custom: #e162c8;
$custom-light: #ed95d9;
$custom-dark: #000000;
JSON
{
  "hex": "#e162c8",
  "rgb": {
    "r": 225,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 311.811,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68668,
    "c": 0.19621,
    "h": 335.8
  },
  "luminance": 0.28913
}

Semantic roles & 50–950 ramp

primary
#E162C8
secondary
#B9E6C2
accent
#D03A16
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170E14
muted
#857E83

Preview Lab

Preview with #E162C8

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

Preview Lab → · Contrast checker → · Palette generator →

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