#E212BB#E212BB

#E212BB is a light, highly saturated pink. Relative luminance 0.202; OKLCH L 62.2% C 0.266 H 338.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#E212BB
RGBrgb(226, 18, 187)
HSLhsl(311, 85%, 48%)
HSVhsv(311, 92%, 89%)
CMYKcmyk(0%, 92%, 17.3%, 11.4%)
CIE-LABlab(52.06, 83.07, -35.68)
CIE-LCHlch(52.06, 90.41, 336.75°)
OKLaboklab(62.24% 0.2475 -0.097)
OKLCHoklch(62.24% 0.266 338.6)
XYZxyz(40.5511, 20.1935, 48.7662)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E212BB #12E239
analogous
#A112E2 #E212BB #E21253
triadic
#E212BB #BBE212 #12BBE2
tetradic
#E212BB #E2A112 #12E239 #1253E2
square
#E212BB #E2A112 #12E239 #1253E2
split-complementary
#E212BB #53E212 #12E2A1
monochromatic
#71095D #A90D8C #E212BB #F041CF #F47ADD

Accessibility & contrast

On white

4.17
#E212BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#E212BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E212BB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E212BB#FFFFFF#000000##000000
##E212BB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#EF266F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #e212bb;
/* rgb */ color: rgb(226, 18, 187);
/* oklch */ color: oklch(62.2% 0.266 338.6);
Tailwind
colors: {
  custom: {
    50: '#f075d0',
    500: '#e212bb',
    950: '#000000',
  },
}
SCSS
$custom: #e212bb;
$custom-light: #f075d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e212bb",
  "rgb": {
    "r": 226,
    "g": 18,
    "b": 187
  },
  "hsl": {
    "h": 311.25,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.26586,
    "h": 338.6
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#E212BB
secondary
#74DC87
accent
#FB532C
background
#FFF7FC
surface
#FFEEF9
border
#D7C9D2
text
#180A14
muted
#867C82

Preview Lab

Preview with #E212BB

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

Preview Lab → · Contrast checker → · Palette generator →

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