#E162BC#E162BC

#E162BC is a light, vivid pink. Relative luminance 0.284; OKLCH L 68.2% C 0.188 H 340.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#E162BC
RGBrgb(225, 98, 188)
HSLhsl(317, 68%, 63%)
HSVhsv(317, 56%, 88%)
CMYKcmyk(0%, 56.4%, 16.4%, 11.8%)
CIE-LABlab(60.23, 59.67, -23.59)
CIE-LCHlch(60.23, 64.16, 338.43°)
OKLaboklab(68.16% 0.1766 -0.0633)
OKLCHoklch(68.16% 0.188 340.3)
XYZxyz(44.4969, 28.3774, 50.7010)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E162BC #62E187
analogous
#C662E1 #E162BC #E1627C
triadic
#E162BC #BCE162 #62BCE1
tetradic
#E162BC #E1C662 #62E187 #627CE1
square
#E162BC #E1C662 #62E187 #627CE1
split-complementary
#E162BC #7CE162 #62E1C6
monochromatic
#A82081 #D72FA6 #E162BC #EB95D2 #F5C9E8

Accessibility & contrast

On white

3.15
#E162BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#E162BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E162BC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E162BC#FFFFFF#000000##000000
##E162BC1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BF
Deuteranopia (green-blind)
#8D99B9
Tritanopia (blue-blind)
#ED6587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #e162bc;
/* rgb */ color: rgb(225, 98, 188);
/* oklch */ color: oklch(68.2% 0.188 340.3);
Tailwind
colors: {
  custom: {
    50: '#ed94d0',
    500: '#e162bc',
    950: '#000000',
  },
}
SCSS
$custom: #e162bc;
$custom-light: #ed94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e162bc",
  "rgb": {
    "r": 225,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 317.48,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68157,
    "c": 0.18757,
    "h": 340.3
  },
  "luminance": 0.28374
}

Semantic roles & 50–950 ramp

primary
#E162BC
secondary
#B9E6C6
accent
#D04C16
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170E14
muted
#857E82

Preview Lab

Preview with #E162BC

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

Preview Lab → · Contrast checker → · Palette generator →

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