#E170C3#E170C3

#E170C3 is a light, vivid pink. Relative luminance 0.315; OKLCH L 70.3% C 0.171 H 338.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#E170C3
RGBrgb(225, 112, 195)
HSLhsl(316, 65%, 66%)
HSVhsv(316, 50%, 88%)
CMYKcmyk(0%, 50.2%, 13.3%, 11.8%)
CIE-LABlab(62.96, 54.19, -23.38)
CIE-LCHlch(62.96, 59.02, 336.66°)
OKLaboklab(70.27% 0.1587 -0.0628)
OKLCHoklch(70.27% 0.171 338.4)
XYZxyz(46.6963, 31.5394, 55.2474)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170C3 #70E18E
analogous
#C670E1 #E170C3 #E1708A
triadic
#E170C3 #C3E170 #70C3E1
tetradic
#E170C3 #E1C670 #70E18E #708AE1
square
#E170C3 #E1C670 #70E18E #708AE1
split-complementary
#E170C3 #8AE170 #70E1C6
monochromatic
#B1258C #D63DAE #E170C3 #ECA3D8 #F6D5ED

Accessibility & contrast

On white

2.87
#E170C3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#E170C3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170C3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170C3#FFFFFF#000000##000000
##E170C31.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC6
Deuteranopia (green-blind)
#939FC0
Tritanopia (blue-blind)
#EC7391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e170c3;
/* rgb */ color: rgb(225, 112, 195);
/* oklch */ color: oklch(70.3% 0.171 338.4);
Tailwind
colors: {
  custom: {
    50: '#ed9dd5',
    500: '#e170c3',
    950: '#000000',
  },
}
SCSS
$custom: #e170c3;
$custom-light: #ed9dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#e170c3",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 195
  },
  "hsl": {
    "h": 315.929,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7027,
    "c": 0.17073,
    "h": 338.4
  },
  "luminance": 0.31536
}

Semantic roles & 50–950 ramp

primary
#E170C3
secondary
#C4E9CE
accent
#CD4818
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170F14
muted
#857E83

Preview Lab

Preview with #E170C3

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

Preview Lab → · Contrast checker → · Palette generator →

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