#E338BB#E338BB

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

Color values

HEX#E338BB
RGBrgb(227, 56, 187)
HSLhsl(314, 75%, 55%)
HSVhsv(314, 75%, 89%)
CMYKcmyk(0%, 75.3%, 17.6%, 11%)
CIE-LABlab(54.82, 75.79, -31.36)
CIE-LCHlch(54.82, 82.02, 337.52°)
OKLaboklab(64.25% 0.2257 -0.0849)
OKLCHoklch(64.25% 0.241 339.4)
XYZxyz(42.0635, 22.7513, 49.1802)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338BB #38E360
analogous
#B538E3 #E338BB #E33865
triadic
#E338BB #BBE338 #38BBE3
tetradic
#E338BB #E3B538 #38E360 #3865E3
square
#E338BB #E3B538 #38E360 #3865E3
split-complementary
#E338BB #65E338 #38E3B5
monochromatic
#8D1470 #C21B9B #E338BB #EB6ECD #F2A3E0

Accessibility & contrast

On white

3.78
#E338BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#E338BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338BB#FFFFFF#000000##000000
##E338BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#7C8DB7
Tritanopia (blue-blind)
#F03F76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e338bb;
/* rgb */ color: rgb(227, 56, 187);
/* oklch */ color: oklch(64.2% 0.241 339.4);
Tailwind
colors: {
  custom: {
    50: '#f080cf',
    500: '#e338bb',
    950: '#000000',
  },
}
SCSS
$custom: #e338bb;
$custom-light: #f080cf;
$custom-dark: #000000;
JSON
{
  "hex": "#e338bb",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 314.035,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.24113,
    "h": 339.4
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#E338BB
secondary
#98DFA8
accent
#F26236
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #E338BB

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

Preview Lab → · Contrast checker → · Palette generator →

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