#E228BA#E228BA

#E228BA is a light, highly saturated pink. Relative luminance 0.212; OKLCH L 63.0% C 0.253 H 339.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#E228BA
RGBrgb(226, 40, 186)
HSLhsl(313, 76%, 52%)
HSVhsv(313, 82%, 89%)
CMYKcmyk(0%, 82.3%, 17.7%, 11.4%)
CIE-LABlab(53.21, 79.45, -33.30)
CIE-LCHlch(53.21, 86.14, 337.26°)
OKLaboklab(63.04% 0.2368 -0.0903)
OKLCHoklch(63.04% 0.253 339.1)
XYZxyz(40.9869, 21.2357, 48.3852)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E228BA #28E250
analogous
#AD28E2 #E228BA #E2285D
triadic
#E228BA #BAE228 #28BAE2
tetradic
#E228BA #E2AD28 #28E250 #285DE2
square
#E228BA #E2AD28 #28E250 #285DE2
split-complementary
#E228BA #5DE228 #28E2AD
monochromatic
#7F1167 #B41893 #E228BA #E95ECB #F194DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E228BA#FFFFFF#000000##000000
##E228BA1.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)
#376DBE
Deuteranopia (green-blind)
#7789B6
Tritanopia (blue-blind)
#EF3372
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #e228ba;
/* rgb */ color: rgb(226, 40, 186);
/* oklch */ color: oklch(63.0% 0.253 339.1);
Tailwind
colors: {
  custom: {
    50: '#f07acf',
    500: '#e228ba',
    950: '#000000',
  },
}
SCSS
$custom: #e228ba;
$custom-light: #f07acf;
$custom-dark: #000000;
JSON
{
  "hex": "#e228ba",
  "rgb": {
    "r": 226,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 312.903,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.25347,
    "h": 339.1
  },
  "luminance": 0.21232
}

Semantic roles & 50–950 ramp

primary
#E228BA
secondary
#8ADC9C
accent
#F35E35
background
#FFF8FC
surface
#FFEFF9
border
#D7CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #E228BA

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

Preview Lab → · Contrast checker → · Palette generator →

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