#E228BB#E228BB

#E228BB is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 63.1% C 0.254 H 338.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#E228BB
RGBrgb(226, 40, 187)
HSLhsl(313, 76%, 52%)
HSVhsv(313, 82%, 89%)
CMYKcmyk(0%, 82.3%, 17.3%, 11.4%)
CIE-LABlab(53.25, 79.57, -33.81)
CIE-LCHlch(53.25, 86.46, 336.98°)
OKLaboklab(63.09% 0.2369 -0.0918)
OKLCHoklch(63.09% 0.254 338.8)
XYZxyz(41.0936, 21.2784, 48.9471)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228BB #28E24F
analogous
#AC28E2 #E228BB #E2285E
triadic
#E228BB #BBE228 #28BBE2
tetradic
#E228BB #E2AC28 #28E24F #285EE2
square
#E228BB #E2AC28 #28E24F #285EE2
split-complementary
#E228BB #5EE228 #28E2AC
monochromatic
#7F1168 #B41894 #E228BB #E95ECC #F194DD

Accessibility & contrast

On white

4.00
#E228BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#E228BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E228BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E228BB#FFFFFF#000000##000000
##E228BB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#366DBF
Deuteranopia (green-blind)
#7789B7
Tritanopia (blue-blind)
#EF3372
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #e228bb;
/* rgb */ color: rgb(226, 40, 187);
/* oklch */ color: oklch(63.1% 0.254 338.8);
Tailwind
colors: {
  custom: {
    50: '#f07ad0',
    500: '#e228bb',
    950: '#000000',
  },
}
SCSS
$custom: #e228bb;
$custom-light: #f07ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#e228bb",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 312.581,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.25408,
    "h": 338.8
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#E228BB
secondary
#8ADC9B
accent
#F35D35
background
#FFF8FC
surface
#FFEFF9
border
#D7CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #E228BB

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

Preview Lab → · Contrast checker → · Palette generator →

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