#E338BA#E338BA

#E338BA is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 64.2% C 0.241 H 339.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#E338BA
RGBrgb(227, 56, 186)
HSLhsl(314, 75%, 55%)
HSVhsv(314, 75%, 89%)
CMYKcmyk(0%, 75.3%, 18.1%, 11%)
CIE-LABlab(54.77, 75.66, -30.85)
CIE-LCHlch(54.77, 81.71, 337.82°)
OKLaboklab(64.2% 0.2256 -0.0834)
OKLCHoklch(64.2% 0.241 339.7)
XYZxyz(41.9568, 22.7086, 48.6184)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338BA #38E361
analogous
#B638E3 #E338BA #E33864
triadic
#E338BA #BAE338 #38BAE3
tetradic
#E338BA #E3B638 #38E361 #3864E3
square
#E338BA #E3B638 #38E361 #3864E3
split-complementary
#E338BA #64E338 #38E3B6
monochromatic
#8D1470 #C21B9A #E338BA #EB6ECD #F2A3DF

Accessibility & contrast

On white

3.79
#E338BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#E338BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338BA#FFFFFF#000000##000000
##E338BA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#F03F76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e338ba;
/* rgb */ color: rgb(227, 56, 186);
/* oklch */ color: oklch(64.2% 0.241 339.7);
Tailwind
colors: {
  custom: {
    50: '#f080cf',
    500: '#e338ba',
    950: '#000000',
  },
}
SCSS
$custom: #e338ba;
$custom-light: #f080cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e338ba",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 314.386,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64202,
    "c": 0.24051,
    "h": 339.7
  },
  "luminance": 0.22704
}

Semantic roles & 50–950 ramp

primary
#E338BA
secondary
#98DFA9
accent
#F26336
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #E338BA

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

Preview Lab → · Contrast checker → · Palette generator →

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