#E254A6#E254A6

#E254A6 is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.8% C 0.195 H 348.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#E254A6
RGBrgb(226, 84, 166)
HSLhsl(325, 71%, 61%)
HSVhsv(325, 63%, 89%)
CMYKcmyk(0%, 62.8%, 26.5%, 11.4%)
CIE-LABlab(57.33, 62.98, -15.31)
CIE-LCHlch(57.33, 64.81, 346.34°)
OKLaboklab(65.78% 0.1907 -0.0402)
OKLCHoklch(65.78% 0.195 348.1)
XYZxyz(41.4190, 25.2667, 38.7647)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254A6 #54E290
analogous
#D754E2 #E254A6 #E2545F
triadic
#E254A6 #A6E254 #54A6E2
tetradic
#E254A6 #E2D754 #54E290 #545FE2
square
#E254A6 #E2D754 #54E290 #545FE2
split-complementary
#E254A6 #5FE254 #54E2D7
monochromatic
#A01B68 #D5248A #E254A6 #EB88C1 #F4BDDC

Accessibility & contrast

On white

3.47
#E254A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#E254A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254A6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254A6#FFFFFF#000000##000000
##E254A61.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA8
Deuteranopia (green-blind)
#8E93A3
Tritanopia (blue-blind)
#F14F76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e254a6;
/* rgb */ color: rgb(226, 84, 166);
/* oklch */ color: oklch(65.8% 0.195 348.1);
Tailwind
colors: {
  custom: {
    50: '#ef8cc0',
    500: '#e254a6',
    950: '#000000',
  },
}
SCSS
$custom: #e254a6;
$custom-light: #ef8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#e254a6",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 166
  },
  "hsl": {
    "h": 325.352,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65782,
    "c": 0.19493,
    "h": 348.1
  },
  "luminance": 0.25263
}

Semantic roles & 50–950 ramp

primary
#E254A6
secondary
#AEE4C5
accent
#D36412
background
#FFF9FB
surface
#FEF1F7
border
#D6CBD0
text
#170D12
muted
#857E81

Preview Lab

Preview with #E254A6

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

Preview Lab → · Contrast checker → · Palette generator →

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