#EF31B2#EF31B2

#EF31B2 is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 65.3% C 0.249 H 344.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#EF31B2
RGBrgb(239, 49, 178)
HSLhsl(319, 86%, 56%)
HSVhsv(319, 79%, 94%)
CMYKcmyk(0%, 79.5%, 25.5%, 6.3%)
CIE-LABlab(55.85, 79.21, -24.36)
CIE-LCHlch(55.85, 82.87, 342.91°)
OKLaboklab(65.26% 0.2404 -0.0649)
OKLCHoklch(65.26% 0.249 344.9)
XYZxyz(44.7328, 23.7667, 44.3426)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF31B2 #31EF6E
analogous
#CD31EF #EF31B2 #EF3153
triadic
#EF31B2 #B2EF31 #31B2EF
tetradic
#EF31B2 #EFCD31 #31EF6E #3153EF
square
#EF31B2 #EFCD31 #31EF6E #3153EF
split-complementary
#EF31B2 #53EF31 #31EFCD
monochromatic
#9A0C6C #D21094 #EF31B2 #F36AC7 #F8A3DC

Accessibility & contrast

On white

3.65
#EF31B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#EF31B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF31B2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF31B2#FFFFFF#000000##000000
##EF31B21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B5
Deuteranopia (green-blind)
#8791AE
Tritanopia (blue-blind)
#FF2D70
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ef31b2;
/* rgb */ color: rgb(239, 49, 178);
/* oklch */ color: oklch(65.3% 0.249 344.9);
Tailwind
colors: {
  custom: {
    50: '#f97fc9',
    500: '#ef31b2',
    950: '#000000',
  },
}
SCSS
$custom: #ef31b2;
$custom-light: #f97fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef31b2",
  "rgb": {
    "r": 239,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 319.263,
    "s": 85.586,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65256,
    "c": 0.24904,
    "h": 344.9
  },
  "luminance": 0.23762
}

Semantic roles & 50–950 ramp

primary
#EF31B2
secondary
#97E5B0
accent
#FC6F2C
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#180B13
muted
#867C82

Preview Lab

Preview with #EF31B2

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

Preview Lab → · Contrast checker → · Palette generator →

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