#EF508F#EF508F

#EF508F is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.5% C 0.201 H 359.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#EF508F
RGBrgb(239, 80, 143)
HSLhsl(336, 83%, 63%)
HSVhsv(336, 67%, 94%)
CMYKcmyk(0%, 66.5%, 40.2%, 6.3%)
CIE-LABlab(58.11, 65.66, -0.50)
CIE-LCHlch(58.11, 65.67, 359.56°)
OKLaboklab(66.51% 0.201 -0.0005)
OKLCHoklch(66.51% 0.201 359.9)
XYZxyz(43.4261, 26.0764, 28.7277)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF508F #50EFB0
analogous
#EF50DF #EF508F #EF6050
triadic
#EF508F #8FEF50 #508FEF
tetradic
#EF508F #DFEF50 #50EFB0 #6050EF
square
#EF508F #DFEF50 #50EFB0 #6050EF
split-complementary
#EF508F #50EF60 #50DFEF
monochromatic
#B41051 #EA186B #EF508F #F488B3 #F9C0D7

Accessibility & contrast

On white

3.38
#EF508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#EF508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF508F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF508F#FFFFFF#000000##000000
##EF508F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7891
Deuteranopia (green-blind)
#9A978B
Tritanopia (blue-blind)
#FF3E6A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ef508f;
/* rgb */ color: rgb(239, 80, 143);
/* oklch */ color: oklch(66.5% 0.201 359.9);
Tailwind
colors: {
  custom: {
    50: '#f98baf',
    500: '#ef508f',
    950: '#000000',
  },
}
SCSS
$custom: #ef508f;
$custom-light: #f98baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ef508f",
  "rgb": {
    "r": 239,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 336.226,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.20102,
    "h": 359.9
  },
  "luminance": 0.26071
}

Semantic roles & 50–950 ramp

primary
#EF508F
secondary
#B0EAD3
accent
#E08906
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EF508F

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

Preview Lab → · Contrast checker → · Palette generator →

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