#E28FA2#E28FA2

#E28FA2 is a light, moderate red. Relative luminance 0.384; OKLCH L 74.0% C 0.103 H 5.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#E28FA2
RGBrgb(226, 143, 162)
HSLhsl(346, 59%, 72%)
HSVhsv(346, 37%, 89%)
CMYKcmyk(0%, 36.7%, 28.3%, 11.4%)
CIE-LABlab(68.33, 33.86, 3.27)
CIE-LCHlch(68.33, 34.02, 5.52°)
OKLaboklab(74.01% 0.1025 0.009)
OKLCHoklch(74.01% 0.103 5)
XYZxyz(47.7095, 38.4256, 39.0795)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FA2 #8FE2CF
analogous
#E28FCC #E28FA2 #E2A68F
triadic
#E28FA2 #A2E28F #8FA2E2
tetradic
#E28FA2 #CCE28F #8FE2CF #A68FE2
square
#E28FA2 #CCE28F #8FE2CF #A68FE2
split-complementary
#E28FA2 #8FE2A6 #8FCCE2
monochromatic
#C43354 #D55E7A #E28FA2 #EFC0CA #F9E7EB

Accessibility & contrast

On white

2.42
#E28FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#E28FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FA2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FA2#FFFFFF#000000##000000
##E28FA21.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9DA3
Deuteranopia (green-blind)
#B0ACA0
Tritanopia (blue-blind)
#F08996
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e28fa2;
/* rgb */ color: rgb(226, 143, 162);
/* oklch */ color: oklch(74.0% 0.103 5.0);
Tailwind
colors: {
  custom: {
    50: '#edb1bd',
    500: '#e28fa2',
    950: '#000000',
  },
}
SCSS
$custom: #e28fa2;
$custom-light: #edb1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fa2",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 346.265,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.10288,
    "h": 5
  },
  "luminance": 0.38422
}

Semantic roles & 50–950 ramp

primary
#E28FA2
secondary
#DBF0EB
accent
#C6A01F
background
#FEFAFB
surface
#FDF5F6
border
#D5CFD0
text
#161112
muted
#848081

Preview Lab

Preview with #E28FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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