#E254BC#E254BC

#E254BC is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.7% C 0.208 H 339.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#E254BC
RGBrgb(226, 84, 188)
HSLhsl(316, 71%, 61%)
HSVhsv(316, 63%, 89%)
CMYKcmyk(0%, 62.8%, 16.8%, 11.4%)
CIE-LABlab(58.17, 65.94, -26.74)
CIE-LCHlch(58.17, 71.15, 337.93°)
OKLaboklab(66.67% 0.1955 -0.072)
OKLCHoklch(66.67% 0.208 339.8)
XYZxyz(43.6124, 26.1441, 50.3166)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E254BC #54E27A
analogous
#C154E2 #E254BC #E25475
triadic
#E254BC #BCE254 #54BCE2
tetradic
#E254BC #E2C154 #54E27A #5475E2
square
#E254BC #E2C154 #54E27A #5475E2
split-complementary
#E254BC #75E254 #54E2C1
monochromatic
#A01B7D #D524A5 #E254BC #EB88D1 #F4BDE5

Accessibility & contrast

On white

3.37
#E254BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#E254BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E254BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E254BC#FFFFFF#000000##000000
##E254BC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#8794B8
Tritanopia (blue-blind)
#EE5881
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e254bc;
/* rgb */ color: rgb(226, 84, 188);
/* oklch */ color: oklch(66.7% 0.208 339.8);
Tailwind
colors: {
  custom: {
    50: '#ef8dd0',
    500: '#e254bc',
    950: '#000000',
  },
}
SCSS
$custom: #e254bc;
$custom-light: #ef8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#e254bc",
  "rgb": {
    "r": 226,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 316.056,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.20835,
    "h": 339.8
  },
  "luminance": 0.2614
}

Semantic roles & 50–950 ramp

primary
#E254BC
secondary
#AEE4BC
accent
#D34612
background
#FFF9FC
surface
#FEF1F9
border
#D6CBD2
text
#170D14
muted
#857E82

Preview Lab

Preview with #E254BC

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

Preview Lab → · Contrast checker → · Palette generator →

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