#E312BB#E312BB

#E312BB is a light, highly saturated pink. Relative luminance 0.204; OKLCH L 62.4% C 0.266 H 338.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#E312BB
RGBrgb(227, 18, 187)
HSLhsl(311, 85%, 48%)
HSVhsv(311, 92%, 89%)
CMYKcmyk(0%, 92.1%, 17.6%, 11%)
CIE-LABlab(52.24, 83.25, -35.39)
CIE-LCHlch(52.24, 90.46, 336.97°)
OKLaboklab(62.4% 0.2483 -0.0962)
OKLCHoklch(62.4% 0.266 338.8)
XYZxyz(40.8657, 20.3557, 48.7810)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E312BB #12E33A
analogous
#A212E3 #E312BB #E31253
triadic
#E312BB #BBE312 #12BBE3
tetradic
#E312BB #E3A212 #12E33A #1253E3
square
#E312BB #E3A212 #12E33A #1253E3
split-complementary
#E312BB #53E312 #12E3A2
monochromatic
#72095E #AA0E8C #E312BB #F042CF #F57BDD

Accessibility & contrast

On white

4.14
#E312BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#E312BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E312BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E312BB#FFFFFF#000000##000000
##E312BB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#7487B7
Tritanopia (blue-blind)
#F0256F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #e312bb;
/* rgb */ color: rgb(227, 18, 187);
/* oklch */ color: oklch(62.4% 0.266 338.8);
Tailwind
colors: {
  custom: {
    50: '#f175d0',
    500: '#e312bb',
    950: '#000000',
  },
}
SCSS
$custom: #e312bb;
$custom-light: #f175d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e312bb",
  "rgb": {
    "r": 227,
    "g": 18,
    "b": 187
  },
  "hsl": {
    "h": 311.483,
    "s": 85.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.26631,
    "h": 338.8
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#E312BB
secondary
#75DC88
accent
#FC542C
background
#FFF8FC
surface
#FFEFF9
border
#D7CAD2
text
#180A14
muted
#867C82

Preview Lab

Preview with #E312BB

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

Preview Lab → · Contrast checker → · Palette generator →

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