#EB31AA#EB31AA

#EB31AA is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.3% C 0.242 H 346.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#EB31AA
RGBrgb(235, 49, 170)
HSLhsl(321, 82%, 56%)
HSVhsv(321, 79%, 92%)
CMYKcmyk(0%, 79.1%, 27.7%, 7.8%)
CIE-LABlab(54.83, 77.39, -21.32)
CIE-LCHlch(54.83, 80.27, 344.60°)
OKLaboklab(64.28% 0.2357 -0.0565)
OKLCHoklch(64.28% 0.242 346.5)
XYZxyz(42.6171, 22.7660, 40.1724)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB31AA #31EB72
analogous
#CF31EB #EB31AA #EB314D
triadic
#EB31AA #AAEB31 #31AAEB
tetradic
#EB31AA #EBCF31 #31EB72 #314DEB
square
#EB31AA #EBCF31 #31EB72 #314DEB
split-complementary
#EB31AA #4DEB31 #31EBCF
monochromatic
#930E65 #CB148B #EB31AA #F069C1 #F6A1D8

Accessibility & contrast

On white

3.78
#EB31AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#EB31AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB31AA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB31AA#FFFFFF#000000##000000
##EB31AA1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#868EA6
Tritanopia (blue-blind)
#FB2A6B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #eb31aa;
/* rgb */ color: rgb(235, 49, 170);
/* oklch */ color: oklch(64.3% 0.242 346.5);
Tailwind
colors: {
  custom: {
    50: '#f77ec3',
    500: '#eb31aa',
    950: '#000000',
  },
}
SCSS
$custom: #eb31aa;
$custom-light: #f77ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#eb31aa",
  "rgb": {
    "r": 235,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 320.968,
    "s": 82.301,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.24241,
    "h": 346.5
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#EB31AA
secondary
#95E3B0
accent
#F9762F
background
#FFF8FC
surface
#FFEFF8
border
#D7CAD1
text
#180B12
muted
#867C81

Preview Lab

Preview with #EB31AA

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

Preview Lab → · Contrast checker → · Palette generator →

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