#EF97B2#EF97B2

#EF97B2 is a light, moderate pink. Relative luminance 0.437; OKLCH L 77.3% C 0.110 H 0.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EF97B2
RGBrgb(239, 151, 178)
HSLhsl(342, 73%, 76%)
HSVhsv(342, 37%, 94%)
CMYKcmyk(0%, 36.8%, 25.5%, 6.3%)
CIE-LABlab(72.03, 36.46, -0.09)
CIE-LCHlch(72.03, 36.46, 359.86°)
OKLaboklab(77.3% 0.11 0.0003)
OKLCHoklch(77.3% 0.11 0.1)
XYZxyz(54.7004, 43.7020, 47.6651)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97B2 #97EFD4
analogous
#EF97DE #EF97B2 #EFA897
triadic
#EF97B2 #B2EF97 #97B2EF
tetradic
#EF97B2 #DEEF97 #97EFD4 #A897EF
square
#EF97B2 #DEEF97 #97EFD4 #A897EF
split-complementary
#EF97B2 #97EFA8 #97DEEF
monochromatic
#DF2D63 #E7628B #EF97B2 #F7CCD9 #FBE4EB

Accessibility & contrast

On white

2.16
#EF97B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#EF97B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97B2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97B2#FFFFFF#000000##000000
##EF97B21.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A7B3
Deuteranopia (green-blind)
#B8B7B0
Tritanopia (blue-blind)
#FD92A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef97b2;
/* rgb */ color: rgb(239, 151, 178);
/* oklch */ color: oklch(77.3% 0.110 0.1);
Tailwind
colors: {
  custom: {
    50: '#f6b7c9',
    500: '#ef97b2',
    950: '#000000',
  },
}
SCSS
$custom: #ef97b2;
$custom-light: #f6b7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97b2",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 341.591,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77301,
    "c": 0.11002,
    "h": 0.1
  },
  "luminance": 0.43698
}

Semantic roles & 50–950 ramp

primary
#EF97B2
secondary
#D8F3EB
accent
#D59910
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EF97B2

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

Preview Lab → · Contrast checker → · Palette generator →

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