#E228B1#E228B1

#E228B1 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.6% C 0.248 H 341.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#E228B1
RGBrgb(226, 40, 177)
HSLhsl(316, 76%, 52%)
HSVhsv(316, 82%, 89%)
CMYKcmyk(0%, 82.3%, 21.7%, 11.4%)
CIE-LABlab(52.80, 78.32, -28.68)
CIE-LCHlch(52.80, 83.41, 339.89°)
OKLaboklab(62.62% 0.2359 -0.0772)
OKLCHoklch(62.62% 0.248 341.9)
XYZxyz(40.0601, 20.8650, 43.5041)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228B1 #28E259
analogous
#B628E2 #E228B1 #E22854
triadic
#E228B1 #B1E228 #28B1E2
tetradic
#E228B1 #E2B628 #28E259 #2854E2
square
#E228B1 #E2B628 #28E259 #2854E2
split-complementary
#E228B1 #54E228 #28E2B6
monochromatic
#7F1162 #B4188B #E228B1 #E95EC5 #F194D8

Accessibility & contrast

On white

4.06
#E228B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#E228B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E228B1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E228B1#FFFFFF#000000##000000
##E228B11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#7B88AD
Tritanopia (blue-blind)
#F02C6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e228b1;
/* rgb */ color: rgb(226, 40, 177);
/* oklch */ color: oklch(62.6% 0.248 341.9);
Tailwind
colors: {
  custom: {
    50: '#f07ac8',
    500: '#e228b1',
    950: '#000000',
  },
}
SCSS
$custom: #e228b1;
$custom-light: #f07ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#e228b1",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 315.806,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62622,
    "c": 0.24819,
    "h": 341.9
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#E228B1
secondary
#8ADCA0
accent
#F36735
background
#FFF8FC
surface
#FFEFF8
border
#D7CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #E228B1

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

Preview Lab → · Contrast checker → · Palette generator →

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