#E338B9#E338B9

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

Color values

HEX#E338B9
RGBrgb(227, 56, 185)
HSLhsl(315, 75%, 55%)
HSVhsv(315, 75%, 89%)
CMYKcmyk(0%, 75.3%, 18.5%, 11%)
CIE-LABlab(54.73, 75.53, -30.34)
CIE-LCHlch(54.73, 81.39, 338.12°)
OKLaboklab(64.16% 0.2255 -0.082)
OKLCHoklch(64.16% 0.24 340)
XYZxyz(41.8509, 22.6662, 48.0605)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338B9 #38E362
analogous
#B738E3 #E338B9 #E33863
triadic
#E338B9 #B9E338 #38B9E3
tetradic
#E338B9 #E3B738 #38E362 #3863E3
square
#E338B9 #E3B738 #38E362 #3863E3
split-complementary
#E338B9 #63E338 #38E3B7
monochromatic
#8D146F #C21B99 #E338B9 #EB6ECC #F2A3DF

Accessibility & contrast

On white

3.80
#E338B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#E338B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338B9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338B9#FFFFFF#000000##000000
##E338B91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#7D8DB5
Tritanopia (blue-blind)
#F03E75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e338b9;
/* rgb */ color: rgb(227, 56, 185);
/* oklch */ color: oklch(64.2% 0.240 340.0);
Tailwind
colors: {
  custom: {
    50: '#f080ce',
    500: '#e338b9',
    950: '#000000',
  },
}
SCSS
$custom: #e338b9;
$custom-light: #f080ce;
$custom-dark: #000000;
JSON
{
  "hex": "#e338b9",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 314.737,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.2399,
    "h": 340
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#E338B9
secondary
#98DFA9
accent
#F26436
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #E338B9

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

Preview Lab → · Contrast checker → · Palette generator →

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