#E254A2#E254A2

#E254A2 is a light, vivid pink. Relative luminance 0.251; OKLCH L 65.6% C 0.193 H 349.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#E254A2
RGBrgb(226, 84, 162)
HSLhsl(327, 71%, 61%)
HSVhsv(327, 63%, 89%)
CMYKcmyk(0%, 62.8%, 28.3%, 11.4%)
CIE-LABlab(57.19, 62.48, -13.19)
CIE-LCHlch(57.19, 63.85, 348.07°)
OKLaboklab(65.63% 0.1897 -0.0344)
OKLCHoklch(65.63% 0.193 349.7)
XYZxyz(41.0578, 25.1223, 36.8622)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254A2 #54E294
analogous
#DB54E2 #E254A2 #E2545B
triadic
#E254A2 #A2E254 #54A2E2
tetradic
#E254A2 #E2DB54 #54E294 #545BE2
square
#E254A2 #E2DB54 #54E294 #545BE2
split-complementary
#E254A2 #5BE254 #54E2DB
monochromatic
#A01B64 #D52485 #E254A2 #EB88BE #F4BDDB

Accessibility & contrast

On white

3.49
#E254A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#E254A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254A2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254A2#FFFFFF#000000##000000
##E254A21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#8F939F
Tritanopia (blue-blind)
#F14E74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e254a2;
/* rgb */ color: rgb(226, 84, 162);
/* oklch */ color: oklch(65.6% 0.193 349.7);
Tailwind
colors: {
  custom: {
    50: '#ef8cbd',
    500: '#e254a2',
    950: '#000000',
  },
}
SCSS
$custom: #e254a2;
$custom-light: #ef8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#e254a2",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 327.042,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65633,
    "c": 0.1928,
    "h": 349.7
  },
  "luminance": 0.25118
}

Semantic roles & 50–950 ramp

primary
#E254A2
secondary
#AEE4C6
accent
#D36912
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#170D12
muted
#857E81

Preview Lab

Preview with #E254A2

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

Preview Lab → · Contrast checker → · Palette generator →

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