#E338BC#E338BC

#E338BC is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.3% C 0.242 H 339.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#E338BC
RGBrgb(227, 56, 188)
HSLhsl(314, 75%, 55%)
HSVhsv(314, 75%, 89%)
CMYKcmyk(0%, 75.3%, 17.2%, 11%)
CIE-LABlab(54.86, 75.92, -31.87)
CIE-LCHlch(54.86, 82.34, 337.23°)
OKLaboklab(64.3% 0.2258 -0.0863)
OKLCHoklch(64.3% 0.242 339.1)
XYZxyz(42.1709, 22.7942, 49.7460)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338BC #38E35F
analogous
#B438E3 #E338BC #E33867
triadic
#E338BC #BCE338 #38BCE3
tetradic
#E338BC #E3B438 #38E35F #3867E3
square
#E338BC #E3B438 #38E35F #3867E3
split-complementary
#E338BC #67E338 #38E3B4
monochromatic
#8D1471 #C21B9C #E338BC #EB6ECE #F2A3E0

Accessibility & contrast

On white

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

On black

5.56
#E338BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338BC#FFFFFF#000000##000000
##E338BC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372C0
Deuteranopia (green-blind)
#7C8DB8
Tritanopia (blue-blind)
#F04077
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e338bc;
/* rgb */ color: rgb(227, 56, 188);
/* oklch */ color: oklch(64.3% 0.242 339.1);
Tailwind
colors: {
  custom: {
    50: '#f080d0',
    500: '#e338bc',
    950: '#000000',
  },
}
SCSS
$custom: #e338bc;
$custom-light: #f080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e338bc",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 313.684,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.24175,
    "h": 339.1
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E338BC

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

Preview Lab → · Contrast checker → · Palette generator →

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