#E338B7#E338B7

#E338B7 is a light, highly saturated pink. Relative luminance 0.226; OKLCH L 64.1% C 0.239 H 340.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#E338B7
RGBrgb(227, 56, 183)
HSLhsl(315, 75%, 55%)
HSVhsv(315, 75%, 89%)
CMYKcmyk(0%, 75.3%, 19.4%, 11%)
CIE-LABlab(54.64, 75.27, -29.31)
CIE-LCHlch(54.64, 80.78, 338.72°)
OKLaboklab(64.06% 0.2252 -0.079)
OKLCHoklch(64.06% 0.239 340.7)
XYZxyz(41.6412, 22.5824, 46.9564)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338B7 #38E364
analogous
#BA38E3 #E338B7 #E33861
triadic
#E338B7 #B7E338 #38B7E3
tetradic
#E338B7 #E3BA38 #38E364 #3861E3
square
#E338B7 #E3BA38 #38E364 #3861E3
split-complementary
#E338B7 #61E338 #38E3BA
monochromatic
#8D146E #C21B97 #E338B7 #EB6ECA #F2A3DE

Accessibility & contrast

On white

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

On black

5.52
#E338B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338B7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338B7#FFFFFF#000000##000000
##E338B71.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7E8CB3
Tritanopia (blue-blind)
#F13D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e338b7;
/* rgb */ color: rgb(227, 56, 183);
/* oklch */ color: oklch(64.1% 0.239 340.7);
Tailwind
colors: {
  custom: {
    50: '#f080cd',
    500: '#e338b7',
    950: '#000000',
  },
}
SCSS
$custom: #e338b7;
$custom-light: #f080cd;
$custom-dark: #000000;
JSON
{
  "hex": "#e338b7",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 315.439,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.23867,
    "h": 340.7
  },
  "luminance": 0.22578
}

Semantic roles & 50–950 ramp

primary
#E338B7
secondary
#98DFAA
accent
#F26636
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #E338B7

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

Preview Lab → · Contrast checker → · Palette generator →

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