#EA42C5#EA42C5

#EA42C5 is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.5% C 0.241 H 338.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#EA42C5
RGBrgb(234, 66, 197)
HSLhsl(313, 80%, 59%)
HSVhsv(313, 72%, 92%)
CMYKcmyk(0%, 71.8%, 15.8%, 8.2%)
CIE-LABlab(57.49, 75.69, -32.87)
CIE-LCHlch(57.49, 82.52, 336.53°)
OKLaboklab(66.54% 0.2242 -0.0891)
OKLCHoklch(66.54% 0.241 338.3)
XYZxyz(45.9590, 25.4244, 55.2994)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA42C5 #42EA67
analogous
#BB42EA #EA42C5 #EA4271
triadic
#EA42C5 #C5EA42 #42C5EA
tetradic
#EA42C5 #EABB42 #42EA67 #4271EA
square
#EA42C5 #EABB42 #42EA67 #4271EA
split-complementary
#EA42C5 #71EA42 #42EABB
monochromatic
#A01281 #D718AD #EA42C5 #F079D6 #F6B0E7

Accessibility & contrast

On white

3.45
#EA42C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#EA42C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA42C5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA42C5#FFFFFF#000000##000000
##EA42C51.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C9
Deuteranopia (green-blind)
#8293C1
Tritanopia (blue-blind)
#F74A7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ea42c5;
/* rgb */ color: rgb(234, 66, 197);
/* oklch */ color: oklch(66.5% 0.241 338.3);
Tailwind
colors: {
  custom: {
    50: '#f585d7',
    500: '#ea42c5',
    950: '#000000',
  },
}
SCSS
$custom: #ea42c5;
$custom-light: #f585d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea42c5",
  "rgb": {
    "r": 234,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 313.214,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66542,
    "c": 0.24122,
    "h": 338.3
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#EA42C5
secondary
#A3E5B1
accent
#F65D31
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83

Preview Lab

Preview with #EA42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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