#EF97BA#EF97BA

#EF97BA is a light, moderate pink. Relative luminance 0.440; OKLCH L 77.5% C 0.113 H 354.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#EF97BA
RGBrgb(239, 151, 186)
HSLhsl(336, 73%, 76%)
HSVhsv(336, 37%, 94%)
CMYKcmyk(0%, 36.8%, 22.2%, 6.3%)
CIE-LABlab(72.25, 37.59, -4.19)
CIE-LCHlch(72.25, 37.83, 353.63°)
OKLaboklab(77.54% 0.1128 -0.0106)
OKLCHoklch(77.54% 0.113 354.6)
XYZxyz(55.5272, 44.0327, 52.0194)
Luminance0.4403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97BA #97EFCC
analogous
#EF97E6 #EF97BA #EFA097
triadic
#EF97BA #BAEF97 #97BAEF
tetradic
#EF97BA #E6EF97 #97EFCC #A097EF
square
#EF97BA #E6EF97 #97EFCC #A097EF
split-complementary
#EF97BA #97EFA0 #97E6EF
monochromatic
#DF2D74 #E76297 #EF97BA #F7CCDD #FBE4ED

Accessibility & contrast

On white

2.14
#EF97BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#EF97BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97BA
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97BA#FFFFFF#000000##000000
##EF97BA1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A8BB
Deuteranopia (green-blind)
#B7B7B8
Tritanopia (blue-blind)
#FC93A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef97ba;
/* rgb */ color: rgb(239, 151, 186);
/* oklch */ color: oklch(77.5% 0.113 354.6);
Tailwind
colors: {
  custom: {
    50: '#f6b7ce',
    500: '#ef97ba',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ba;
$custom-light: #f6b7ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ba",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 336.136,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77543,
    "c": 0.1133,
    "h": 354.6
  },
  "luminance": 0.44029
}

Semantic roles & 50–950 ramp

primary
#EF97BA
secondary
#D8F3E8
accent
#D58710
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#171113
muted
#858082

Preview Lab

Preview with #EF97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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