#E251BC#E251BC

#E251BC is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.4% C 0.212 H 339.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#E251BC
RGBrgb(226, 81, 188)
HSLhsl(316, 71%, 60%)
HSVhsv(316, 64%, 89%)
CMYKcmyk(0%, 64.2%, 16.8%, 11.4%)
CIE-LABlab(57.74, 67.13, -27.41)
CIE-LCHlch(57.74, 72.51, 337.79°)
OKLaboklab(66.36% 0.1991 -0.0739)
OKLCHoklch(66.36% 0.212 339.6)
XYZxyz(43.3845, 25.6883, 50.2406)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251BC #51E277
analogous
#BF51E2 #E251BC #E25173
triadic
#E251BC #BCE251 #51BCE2
tetradic
#E251BC #E2BF51 #51E277 #5173E2
square
#E251BC #E2BF51 #51E277 #5173E2
split-complementary
#E251BC #73E251 #51E2BF
monochromatic
#9E1A7C #D323A5 #E251BC #EB85D0 #F3BAE4

Accessibility & contrast

On white

3.42
#E251BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#E251BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251BC#FFFFFF#000000##000000
##E251BC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#8593B8
Tritanopia (blue-blind)
#EE557F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e251bc;
/* rgb */ color: rgb(226, 81, 188);
/* oklch */ color: oklch(66.4% 0.212 339.6);
Tailwind
colors: {
  custom: {
    50: '#ef8bd0',
    500: '#e251bc',
    950: '#000000',
  },
}
SCSS
$custom: #e251bc;
$custom-light: #ef8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#e251bc",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 315.724,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.21237,
    "h": 339.6
  },
  "luminance": 0.25684
}

Semantic roles & 50–950 ramp

primary
#E251BC
secondary
#ACE3BA
accent
#D34512
background
#FFF9FC
surface
#FEF1F9
border
#D6CBD2
text
#170D14
muted
#857E82

Preview Lab

Preview with #E251BC

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

Preview Lab → · Contrast checker → · Palette generator →

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