#E251BA#E251BA

#E251BA is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.3% C 0.211 H 340.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#E251BA
RGBrgb(226, 81, 186)
HSLhsl(317, 71%, 60%)
HSVhsv(317, 64%, 89%)
CMYKcmyk(0%, 64.2%, 17.7%, 11.4%)
CIE-LABlab(57.66, 66.85, -26.39)
CIE-LCHlch(57.66, 71.87, 338.46°)
OKLaboklab(66.27% 0.1988 -0.071)
OKLCHoklch(66.27% 0.211 340.3)
XYZxyz(43.1704, 25.6027, 49.1130)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251BA #51E279
analogous
#C251E2 #E251BA #E25171
triadic
#E251BA #BAE251 #51BAE2
tetradic
#E251BA #E2C251 #51E279 #5171E2
square
#E251BA #E2C251 #51E279 #5171E2
split-complementary
#E251BA #71E251 #51E2C2
monochromatic
#9E1A7A #D323A2 #E251BA #EB85CF #F3BAE4

Accessibility & contrast

On white

3.43
#E251BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#E251BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251BA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251BA#FFFFFF#000000##000000
##E251BA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBD
Deuteranopia (green-blind)
#8693B6
Tritanopia (blue-blind)
#EF547E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e251ba;
/* rgb */ color: rgb(226, 81, 186);
/* oklch */ color: oklch(66.3% 0.211 340.3);
Tailwind
colors: {
  custom: {
    50: '#ef8bcf',
    500: '#e251ba',
    950: '#000000',
  },
}
SCSS
$custom: #e251ba;
$custom-light: #ef8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#e251ba",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 316.552,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6627,
    "c": 0.21105,
    "h": 340.3
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#E251BA
secondary
#ACE3BB
accent
#D34712
background
#FFF9FC
surface
#FEF1F9
border
#D6CBD2
text
#170D13
muted
#857E82

Preview Lab

Preview with #E251BA

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

Preview Lab → · Contrast checker → · Palette generator →

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