#E874C2#E874C2

#E874C2 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.7% C 0.169 H 341.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#E874C2
RGBrgb(232, 116, 194)
HSLhsl(320, 72%, 68%)
HSVhsv(320, 50%, 91%)
CMYKcmyk(0%, 50%, 16.4%, 9%)
CIE-LABlab(64.60, 54.22, -20.23)
CIE-LCHlch(64.60, 57.87, 339.54°)
OKLaboklab(71.67% 0.1603 -0.054)
OKLCHoklch(71.67% 0.169 341.4)
XYZxyz(49.2625, 33.5453, 54.9088)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E874C2 #74E89A
analogous
#D474E8 #E874C2 #E87488
triadic
#E874C2 #C2E874 #74C2E8
tetradic
#E874C2 #E8D474 #74E89A #7488E8
square
#E874C2 #E8D474 #74E89A #7488E8
split-complementary
#E874C2 #88E874 #74E8D4
monochromatic
#C2208D #DF3FAB #E874C2 #F1A9D9 #F9DDF0

Accessibility & contrast

On white

2.72
#E874C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#E874C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E874C2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E874C2#FFFFFF#000000##000000
##E874C21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C5
Deuteranopia (green-blind)
#9AA4BF
Tritanopia (blue-blind)
#F47592
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e874c2;
/* rgb */ color: rgb(232, 116, 194);
/* oklch */ color: oklch(71.7% 0.169 341.4);
Tailwind
colors: {
  custom: {
    50: '#f2a0d4',
    500: '#e874c2',
    950: '#000000',
  },
}
SCSS
$custom: #e874c2;
$custom-light: #f2a0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#e874c2",
  "rgb": {
    "r": 232,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 319.655,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.16914,
    "h": 341.4
  },
  "luminance": 0.33542
}

Semantic roles & 50–950 ramp

primary
#E874C2
secondary
#CAEDD6
accent
#D45112
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #E874C2

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

Preview Lab → · Contrast checker → · Palette generator →

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