#EF97AF#EF97AF

#EF97AF is a light, moderate pink. Relative luminance 0.436; OKLCH L 77.2% C 0.109 H 2.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#EF97AF
RGBrgb(239, 151, 175)
HSLhsl(344, 73%, 76%)
HSVhsv(344, 37%, 94%)
CMYKcmyk(0%, 36.8%, 26.8%, 6.3%)
CIE-LABlab(71.95, 36.05, 1.46)
CIE-LCHlch(71.95, 36.08, 2.32°)
OKLaboklab(77.21% 0.109 0.0043)
OKLCHoklch(77.21% 0.109 2.3)
XYZxyz(54.4025, 43.5828, 46.0961)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97AF #97EFD7
analogous
#EF97DB #EF97AF #EFAB97
triadic
#EF97AF #AFEF97 #97AFEF
tetradic
#EF97AF #DBEF97 #97EFD7 #AB97EF
square
#EF97AF #DBEF97 #97EFD7 #AB97EF
split-complementary
#EF97AF #97EFAB #97DBEF
monochromatic
#DF2D5D #E76286 #EF97AF #F7CCD8 #FBE4EB

Accessibility & contrast

On white

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

On black

9.72
#EF97AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97AF
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97AF#FFFFFF#000000##000000
##EF97AF1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A7B0
Deuteranopia (green-blind)
#B9B6AD
Tritanopia (blue-blind)
#FD919F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef97af;
/* rgb */ color: rgb(239, 151, 175);
/* oklch */ color: oklch(77.2% 0.109 2.3);
Tailwind
colors: {
  custom: {
    50: '#f6b6c6',
    500: '#ef97af',
    950: '#000000',
  },
}
SCSS
$custom: #ef97af;
$custom-light: #f6b6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97af",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 175
  },
  "hsl": {
    "h": 343.636,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77214,
    "c": 0.10904,
    "h": 2.3
  },
  "luminance": 0.43579
}

Semantic roles & 50–950 ramp

primary
#EF97AF
secondary
#D8F3EB
accent
#D5A010
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #EF97AF

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

Preview Lab → · Contrast checker → · Palette generator →

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