#E338B6#E338B6

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

Color values

HEX#E338B6
RGBrgb(227, 56, 182)
HSLhsl(316, 75%, 55%)
HSVhsv(316, 75%, 89%)
CMYKcmyk(0%, 75.3%, 19.8%, 11%)
CIE-LABlab(54.60, 75.14, -28.80)
CIE-LCHlch(54.60, 80.47, 339.03°)
OKLaboklab(64.02% 0.2251 -0.0776)
OKLCHoklch(64.02% 0.238 341)
XYZxyz(41.5375, 22.5409, 46.4102)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338B6 #38E365
analogous
#BA38E3 #E338B6 #E33861
triadic
#E338B6 #B6E338 #38B6E3
tetradic
#E338B6 #E3BA38 #38E365 #3861E3
square
#E338B6 #E3BA38 #38E365 #3861E3
split-complementary
#E338B6 #61E338 #38E3BA
monochromatic
#8D146D #C21B96 #E338B6 #EB6ECA #F2A3DD

Accessibility & contrast

On white

3.81
#E338B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#E338B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338B6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338B6#FFFFFF#000000##000000
##E338B61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#7E8CB2
Tritanopia (blue-blind)
#F13C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e338b6;
/* rgb */ color: rgb(227, 56, 182);
/* oklch */ color: oklch(64.0% 0.238 341.0);
Tailwind
colors: {
  custom: {
    50: '#f080cc',
    500: '#e338b6',
    950: '#000000',
  },
}
SCSS
$custom: #e338b6;
$custom-light: #f080cc;
$custom-dark: #000000;
JSON
{
  "hex": "#e338b6",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 315.789,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.23806,
    "h": 341
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E338B6

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

Preview Lab → · Contrast checker → · Palette generator →

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