#E228B2#E228B2

#E228B2 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.7% C 0.249 H 341.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#E228B2
RGBrgb(226, 40, 178)
HSLhsl(315, 76%, 52%)
HSVhsv(315, 82%, 89%)
CMYKcmyk(0%, 82.3%, 21.2%, 11.4%)
CIE-LABlab(52.85, 78.45, -29.20)
CIE-LCHlch(52.85, 83.70, 339.58°)
OKLaboklab(62.67% 0.236 -0.0786)
OKLCHoklch(62.67% 0.249 341.6)
XYZxyz(40.1602, 20.9050, 44.0310)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228B2 #28E258
analogous
#B528E2 #E228B2 #E22855
triadic
#E228B2 #B2E228 #28B2E2
tetradic
#E228B2 #E2B528 #28E258 #2855E2
square
#E228B2 #E2B528 #28E258 #2855E2
split-complementary
#E228B2 #55E228 #28E2B5
monochromatic
#7F1162 #B4188C #E228B2 #E95EC5 #F194D9

Accessibility & contrast

On white

4.05
#E228B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#E228B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E228B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E228B2#FFFFFF#000000##000000
##E228B21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#7A89AE
Tritanopia (blue-blind)
#F02D6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e228b2;
/* rgb */ color: rgb(226, 40, 178);
/* oklch */ color: oklch(62.7% 0.249 341.6);
Tailwind
colors: {
  custom: {
    50: '#f07ac9',
    500: '#e228b2',
    950: '#000000',
  },
}
SCSS
$custom: #e228b2;
$custom-light: #f07ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#e228b2",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 315.484,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62668,
    "c": 0.24876,
    "h": 341.6
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#E228B2
secondary
#8ADC9F
accent
#F36635
background
#FFF8FC
surface
#FFEFF8
border
#D7CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #E228B2

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

Preview Lab → · Contrast checker → · Palette generator →

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