#E336BA#E336BA

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

Color values

HEX#E336BA
RGBrgb(227, 54, 186)
HSLhsl(314, 76%, 55%)
HSVhsv(314, 76%, 89%)
CMYKcmyk(0%, 76.2%, 18.1%, 11%)
CIE-LABlab(54.57, 76.23, -31.16)
CIE-LCHlch(54.57, 82.35, 337.77°)
OKLaboklab(64.06% 0.2273 -0.0843)
OKLCHoklch(64.06% 0.242 339.7)
XYZxyz(41.8618, 22.5186, 48.5867)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E336BA #36E35F
analogous
#B636E3 #E336BA #E33663
triadic
#E336BA #BAE336 #36BAE3
tetradic
#E336BA #E3B636 #36E35F #3663E3
square
#E336BA #E3B636 #36E35F #3663E3
split-complementary
#E336BA #63E336 #36E3B6
monochromatic
#8B136F #C11B9A #E336BA #EA6CCC #F2A1DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E336BA#FFFFFF#000000##000000
##E336BA1.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)
#4271BD
Deuteranopia (green-blind)
#7C8CB6
Tritanopia (blue-blind)
#F03D75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #e336ba;
/* rgb */ color: rgb(227, 54, 186);
/* oklch */ color: oklch(64.1% 0.242 339.7);
Tailwind
colors: {
  custom: {
    50: '#f07fcf',
    500: '#e336ba',
    950: '#000000',
  },
}
SCSS
$custom: #e336ba;
$custom-light: #f07fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#e336ba",
  "rgb": {
    "r": 227,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 314.22,
    "s": 75.546,
    "l": 55.098
  },
  "oklch": {
    "l": 0.64059,
    "c": 0.24242,
    "h": 339.7
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

primary
#E336BA
secondary
#96DFA7
accent
#F26236
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #E336BA

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

Preview Lab → · Contrast checker → · Palette generator →

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