#E17FA2#E17FA2

#E17FA2 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.3% C 0.127 H 358.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#E17FA2
RGBrgb(225, 127, 162)
HSLhsl(339, 62%, 69%)
HSVhsv(339, 44%, 88%)
CMYKcmyk(0%, 43.6%, 28%, 11.8%)
CIE-LABlab(64.80, 41.88, -1.89)
CIE-LCHlch(64.80, 41.93, 357.41°)
OKLaboklab(71.3% 0.1266 -0.0044)
OKLCHoklch(71.3% 0.127 358)
XYZxyz(45.1638, 33.7985, 38.3205)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E17FA2 #7FE1BE
analogous
#E17FD3 #E17FA2 #E18D7F
triadic
#E17FA2 #A2E17F #7FA2E1
tetradic
#E17FA2 #D3E17F #7FE1BE #8D7FE1
square
#E17FA2 #D3E17F #7FE1BE #8D7FE1
split-complementary
#E17FA2 #7FE18D #7FD3E1
monochromatic
#BA2C5E #D54D7E #E17FA2 #EDB1C6 #F8E2EA

Accessibility & contrast

On white

2.71
#E17FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#E17FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E17FA2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E17FA2#FFFFFF#000000##000000
##E17FA21.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#A5A4A0
Tritanopia (blue-blind)
#EF798B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e17fa2;
/* rgb */ color: rgb(225, 127, 162);
/* oklch */ color: oklch(71.3% 0.127 358.0);
Tailwind
colors: {
  custom: {
    50: '#eda6bd',
    500: '#e17fa2',
    950: '#000000',
  },
}
SCSS
$custom: #e17fa2;
$custom-light: #eda6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e17fa2",
  "rgb": {
    "r": 225,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 338.571,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71296,
    "c": 0.12671,
    "h": 358
  },
  "luminance": 0.33795
}

Semantic roles & 50–950 ramp

primary
#E17FA2
secondary
#D0ECE2
accent
#CA8C1C
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #E17FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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