#E231A2#E231A2

#E231A2 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.5% C 0.233 H 347.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#E231A2
RGBrgb(226, 49, 162)
HSLhsl(322, 75%, 54%)
HSVhsv(322, 78%, 89%)
CMYKcmyk(0%, 78.3%, 28.3%, 11.4%)
CIE-LABlab(52.93, 74.41, -19.68)
CIE-LCHlch(52.93, 76.96, 345.19°)
OKLaboklab(62.51% 0.2268 -0.052)
OKLCHoklch(62.51% 0.233 347.1)
XYZxyz(38.9859, 20.9785, 36.1716)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E231A2 #31E271
analogous
#CA31E2 #E231A2 #E2314A
triadic
#E231A2 #A2E231 #31A2E2
tetradic
#E231A2 #E2CA31 #31E271 #314AE2
square
#E231A2 #E2CA31 #31E271 #314AE2
split-complementary
#E231A2 #4AE231 #31E2CA
monochromatic
#86135C #BB1A81 #E231A2 #EA67BA #F19CD2

Accessibility & contrast

On white

4.04
#E231A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#E231A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E231A2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E231A2#FFFFFF#000000##000000
##E231A21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#82899E
Tritanopia (blue-blind)
#F22967
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e231a2;
/* rgb */ color: rgb(226, 49, 162);
/* oklch */ color: oklch(62.5% 0.233 347.1);
Tailwind
colors: {
  custom: {
    50: '#f07cbd',
    500: '#e231a2',
    950: '#000000',
  },
}
SCSS
$custom: #e231a2;
$custom-light: #f07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#e231a2",
  "rgb": {
    "r": 226,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 321.695,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.2327,
    "h": 347.1
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#E231A2
secondary
#92DDAD
accent
#F27A36
background
#FFF8FB
surface
#FFEFF6
border
#D7CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #E231A2

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

Preview Lab → · Contrast checker → · Palette generator →

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