#E228BD#E228BD

#E228BD is a light, highly saturated pink. Relative luminance 0.214; OKLCH L 63.2% C 0.255 H 338.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#E228BD
RGBrgb(226, 40, 189)
HSLhsl(312, 76%, 52%)
HSVhsv(312, 82%, 89%)
CMYKcmyk(0%, 82.3%, 16.4%, 11.4%)
CIE-LABlab(53.35, 79.83, -34.82)
CIE-LCHlch(53.35, 87.10, 336.43°)
OKLaboklab(63.19% 0.2371 -0.0946)
OKLCHoklch(63.19% 0.255 338.2)
XYZxyz(41.3092, 21.3646, 50.0825)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228BD #28E24D
analogous
#AA28E2 #E228BD #E22860
triadic
#E228BD #BDE228 #28BDE2
tetradic
#E228BD #E2AA28 #28E24D #2860E2
square
#E228BD #E2AA28 #28E24D #2860E2
split-complementary
#E228BD #60E228 #28E2AA
monochromatic
#7F1169 #B41895 #E228BD #E95ECE #F194DE

Accessibility & contrast

On white

3.98
#E228BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#E228BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E228BD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E228BD#FFFFFF#000000##000000
##E228BD1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DC1
Deuteranopia (green-blind)
#7689B9
Tritanopia (blue-blind)
#EF3573
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #e228bd;
/* rgb */ color: rgb(226, 40, 189);
/* oklch */ color: oklch(63.2% 0.255 338.2);
Tailwind
colors: {
  custom: {
    50: '#f07ad1',
    500: '#e228bd',
    950: '#000000',
  },
}
SCSS
$custom: #e228bd;
$custom-light: #f07ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#e228bd",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 311.935,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.25528,
    "h": 338.2
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#E228BD
secondary
#8ADC9A
accent
#F35B35
background
#FFF8FC
surface
#FFEFF9
border
#D7CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #E228BD

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

Preview Lab → · Contrast checker → · Palette generator →

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