#EA42C1#EA42C1

#EA42C1 is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 66.4% C 0.239 H 339.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#EA42C1
RGBrgb(234, 66, 193)
HSLhsl(315, 80%, 59%)
HSVhsv(315, 72%, 92%)
CMYKcmyk(0%, 71.8%, 17.5%, 8.2%)
CIE-LABlab(57.31, 75.16, -30.85)
CIE-LCHlch(57.31, 81.24, 337.69°)
OKLaboklab(66.36% 0.2237 -0.0834)
OKLCHoklch(66.36% 0.239 339.6)
XYZxyz(45.5067, 25.2435, 52.9176)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA42C1 #42EA6B
analogous
#BF42EA #EA42C1 #EA426D
triadic
#EA42C1 #C1EA42 #42C1EA
tetradic
#EA42C1 #EABF42 #42EA6B #426DEA
square
#EA42C1 #EABF42 #42EA6B #426DEA
split-complementary
#EA42C1 #6DEA42 #42EABF
monochromatic
#A0127D #D718A8 #EA42C1 #F079D3 #F6B0E5

Accessibility & contrast

On white

3.47
#EA42C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#EA42C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA42C1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA42C1#FFFFFF#000000##000000
##EA42C11.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#8393BD
Tritanopia (blue-blind)
#F7487D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ea42c1;
/* rgb */ color: rgb(234, 66, 193);
/* oklch */ color: oklch(66.4% 0.239 339.6);
Tailwind
colors: {
  custom: {
    50: '#f585d4',
    500: '#ea42c1',
    950: '#000000',
  },
}
SCSS
$custom: #ea42c1;
$custom-light: #f585d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea42c1",
  "rgb": {
    "r": 234,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 314.643,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.23868,
    "h": 339.6
  },
  "luminance": 0.25239
}

Semantic roles & 50–950 ramp

primary
#EA42C1
secondary
#A3E5B3
accent
#F66131
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #EA42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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