#E312AE#E312AE

#E312AE is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.8% C 0.259 H 342.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#E312AE
RGBrgb(227, 18, 174)
HSLhsl(315, 85%, 48%)
HSVhsv(315, 92%, 89%)
CMYKcmyk(0%, 92.1%, 23.3%, 11%)
CIE-LABlab(51.64, 81.70, -28.72)
CIE-LCHlch(51.64, 86.60, 340.63°)
OKLaboklab(61.78% 0.2472 -0.0772)
OKLCHoklch(61.78% 0.259 342.7)
XYZxyz(39.5365, 19.8240, 41.7805)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E312AE #12E347
analogous
#AF12E3 #E312AE #E31246
triadic
#E312AE #AEE312 #12AEE3
tetradic
#E312AE #E3AF12 #12E347 #1246E3
square
#E312AE #E3AF12 #12E347 #1246E3
split-complementary
#E312AE #46E312 #12E3AF
monochromatic
#720957 #AA0E83 #E312AE #F042C4 #F57BD6

Accessibility & contrast

On white

4.23
#E312AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#E312AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E312AE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E312AE#FFFFFF#000000##000000
##E312AE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#7986AA
Tritanopia (blue-blind)
#F21667
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #e312ae;
/* rgb */ color: rgb(227, 18, 174);
/* oklch */ color: oklch(61.8% 0.259 342.7);
Tailwind
colors: {
  custom: {
    50: '#f175c6',
    500: '#e312ae',
    950: '#000000',
  },
}
SCSS
$custom: #e312ae;
$custom-light: #f175c6;
$custom-dark: #000000;
JSON
{
  "hex": "#e312ae",
  "rgb": {
    "r": 227,
    "g": 18,
    "b": 174
  },
  "hsl": {
    "h": 315.215,
    "s": 85.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.25899,
    "h": 342.7
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#E312AE
secondary
#75DC8F
accent
#FC612C
background
#FFF7FC
surface
#FFEEF8
border
#D7C9D1
text
#180A13
muted
#867C82

Preview Lab

Preview with #E312AE

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

Preview Lab → · Contrast checker → · Palette generator →

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