#E228B3#E228B3

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

Color values

HEX#E228B3
RGBrgb(226, 40, 179)
HSLhsl(315, 76%, 52%)
HSVhsv(315, 82%, 89%)
CMYKcmyk(0%, 82.3%, 20.8%, 11.4%)
CIE-LABlab(52.89, 78.57, -29.71)
CIE-LCHlch(52.89, 84.00, 339.28°)
OKLaboklab(62.71% 0.2361 -0.0801)
OKLCHoklch(62.71% 0.249 341.3)
XYZxyz(40.2609, 20.9453, 44.5617)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228B3 #28E257
analogous
#B428E2 #E228B3 #E22856
triadic
#E228B3 #B3E228 #28B3E2
tetradic
#E228B3 #E2B428 #28E257 #2856E2
square
#E228B3 #E2B428 #28E257 #2856E2
split-complementary
#E228B3 #56E228 #28E2B4
monochromatic
#7F1163 #B4188D #E228B3 #E95EC6 #F194D9

Accessibility & contrast

On white

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

On black

5.19
#E228B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E228B3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E228B3#FFFFFF#000000##000000
##E228B31.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB6
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#F02D6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e228b3;
/* rgb */ color: rgb(226, 40, 179);
/* oklch */ color: oklch(62.7% 0.249 341.3);
Tailwind
colors: {
  custom: {
    50: '#f07aca',
    500: '#e228b3',
    950: '#000000',
  },
}
SCSS
$custom: #e228b3;
$custom-light: #f07aca;
$custom-dark: #000000;
JSON
{
  "hex": "#e228b3",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 315.161,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62714,
    "c": 0.24934,
    "h": 341.3
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E228B3

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

Preview Lab → · Contrast checker → · Palette generator →

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