#E228B6#E228B6

#E228B6 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.9% C 0.251 H 340.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#E228B6
RGBrgb(226, 40, 182)
HSLhsl(314, 76%, 52%)
HSVhsv(314, 82%, 89%)
CMYKcmyk(0%, 82.3%, 19.5%, 11.4%)
CIE-LABlab(53.02, 78.94, -31.26)
CIE-LCHlch(53.02, 84.90, 338.40°)
OKLaboklab(62.85% 0.2365 -0.0845)
OKLCHoklch(62.85% 0.251 340.3)
XYZxyz(40.5676, 21.0680, 46.1770)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228B6 #28E254
analogous
#B128E2 #E228B6 #E22859
triadic
#E228B6 #B6E228 #28B6E2
tetradic
#E228B6 #E2B128 #28E254 #2859E2
square
#E228B6 #E2B128 #28E254 #2859E2
split-complementary
#E228B6 #59E228 #28E2B1
monochromatic
#7F1165 #B41890 #E228B6 #E95EC8 #F194DB

Accessibility & contrast

On white

4.03
#E228B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#E228B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E228B6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E228B6#FFFFFF#000000##000000
##E228B61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CBA
Deuteranopia (green-blind)
#7989B2
Tritanopia (blue-blind)
#F0306F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #e228b6;
/* rgb */ color: rgb(226, 40, 182);
/* oklch */ color: oklch(62.9% 0.251 340.3);
Tailwind
colors: {
  custom: {
    50: '#f07acc',
    500: '#e228b6',
    950: '#000000',
  },
}
SCSS
$custom: #e228b6;
$custom-light: #f07acc;
$custom-dark: #000000;
JSON
{
  "hex": "#e228b6",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 314.194,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.25109,
    "h": 340.3
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#E228B6
secondary
#8ADC9E
accent
#F36235
background
#FFF8FC
surface
#FFEFF9
border
#D7CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #E228B6

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

Preview Lab → · Contrast checker → · Palette generator →

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