#E338B5#E338B5

#E338B5 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 64.0% C 0.237 H 341.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#E338B5
RGBrgb(227, 56, 181)
HSLhsl(316, 75%, 55%)
HSVhsv(316, 75%, 89%)
CMYKcmyk(0%, 75.3%, 20.3%, 11%)
CIE-LABlab(54.55, 75.01, -28.28)
CIE-LCHlch(54.55, 80.17, 339.34°)
OKLaboklab(63.97% 0.2249 -0.0761)
OKLCHoklch(63.97% 0.237 341.3)
XYZxyz(41.4346, 22.4997, 45.8679)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338B5 #38E366
analogous
#BB38E3 #E338B5 #E33860
triadic
#E338B5 #B5E338 #38B5E3
tetradic
#E338B5 #E3BB38 #38E366 #3860E3
square
#E338B5 #E3BB38 #38E366 #3860E3
split-complementary
#E338B5 #60E338 #38E3BB
monochromatic
#8D146C #C21B95 #E338B5 #EB6EC9 #F2A3DD

Accessibility & contrast

On white

3.82
#E338B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#E338B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338B5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338B5#FFFFFF#000000##000000
##E338B51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#7F8CB1
Tritanopia (blue-blind)
#F13C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #e338b5;
/* rgb */ color: rgb(227, 56, 181);
/* oklch */ color: oklch(64.0% 0.237 341.3);
Tailwind
colors: {
  custom: {
    50: '#f080cb',
    500: '#e338b5',
    950: '#000000',
  },
}
SCSS
$custom: #e338b5;
$custom-light: #f080cb;
$custom-dark: #000000;
JSON
{
  "hex": "#e338b5",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 316.14,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63974,
    "c": 0.23746,
    "h": 341.3
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#E338B5
secondary
#98DFAB
accent
#F26836
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #E338B5

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

Preview Lab → · Contrast checker → · Palette generator →

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