#EA42CB#EA42CB

#EA42CB is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.8% C 0.245 H 336.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#EA42CB
RGBrgb(234, 66, 203)
HSLhsl(311, 80%, 59%)
HSVhsv(311, 72%, 92%)
CMYKcmyk(0%, 71.8%, 13.2%, 8.2%)
CIE-LABlab(57.76, 76.52, -35.88)
CIE-LCHlch(57.76, 84.51, 334.88°)
OKLaboklab(66.82% 0.2248 -0.0977)
OKLCHoklch(66.82% 0.245 336.5)
XYZxyz(46.6602, 25.7049, 58.9925)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA42CB #42EA61
analogous
#B542EA #EA42CB #EA4277
triadic
#EA42CB #CBEA42 #42CBEA
tetradic
#EA42CB #EAB542 #42EA61 #4277EA
square
#EA42CB #EAB542 #42EA61 #4277EA
split-complementary
#EA42CB #77EA42 #42EAB5
monochromatic
#A01286 #D718B4 #EA42CB #F079DA #F6B0E9

Accessibility & contrast

On white

3.42
#EA42CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#EA42CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA42CB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA42CB#FFFFFF#000000##000000
##EA42CB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#7F94C7
Tritanopia (blue-blind)
#F64D82
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ea42cb;
/* rgb */ color: rgb(234, 66, 203);
/* oklch */ color: oklch(66.8% 0.245 336.5);
Tailwind
colors: {
  custom: {
    50: '#f585db',
    500: '#ea42cb',
    950: '#000000',
  },
}
SCSS
$custom: #ea42cb;
$custom-light: #f585db;
$custom-dark: #000000;
JSON
{
  "hex": "#ea42cb",
  "rgb": {
    "r": 234,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 311.071,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66824,
    "c": 0.24513,
    "h": 336.5
  },
  "luminance": 0.25701
}

Semantic roles & 50–950 ramp

primary
#EA42CB
secondary
#A3E5AF
accent
#F65631
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180C15
muted
#867D83

Preview Lab

Preview with #EA42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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