#E231A7#E231A7

#E231A7 is a light, highly saturated pink. Relative luminance 0.212; OKLCH L 62.7% C 0.235 H 345.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#E231A7
RGBrgb(226, 49, 167)
HSLhsl(320, 75%, 54%)
HSVhsv(320, 78%, 89%)
CMYKcmyk(0%, 78.3%, 26.1%, 11.4%)
CIE-LABlab(53.12, 74.99, -22.32)
CIE-LCHlch(53.12, 78.24, 343.42°)
OKLaboklab(62.72% 0.2278 -0.0594)
OKLCHoklch(62.72% 0.235 345.4)
XYZxyz(39.4392, 21.1598, 38.5590)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E231A7 #31E26C
analogous
#C531E2 #E231A7 #E2314F
triadic
#E231A7 #A7E231 #31A7E2
tetradic
#E231A7 #E2C531 #31E26C #314FE2
square
#E231A7 #E2C531 #31E26C #314FE2
split-complementary
#E231A7 #4FE231 #31E2C5
monochromatic
#86135F #BB1A86 #E231A7 #EA67BE #F19CD5

Accessibility & contrast

On white

4.01
#E231A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#E231A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E231A7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E231A7#FFFFFF#000000##000000
##E231A71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#8189A3
Tritanopia (blue-blind)
#F12D69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #e231a7;
/* rgb */ color: rgb(226, 49, 167);
/* oklch */ color: oklch(62.7% 0.235 345.4);
Tailwind
colors: {
  custom: {
    50: '#f07cc1',
    500: '#e231a7',
    950: '#000000',
  },
}
SCSS
$custom: #e231a7;
$custom-light: #f07cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#e231a7",
  "rgb": {
    "r": 226,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 320,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62718,
    "c": 0.23536,
    "h": 345.4
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#E231A7
secondary
#92DDAB
accent
#F27536
background
#FFF8FB
surface
#FFEFF7
border
#D7CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #E231A7

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

Preview Lab → · Contrast checker → · Palette generator →

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