#EF97AC#EF97AC

#EF97AC is a light, moderate red. Relative luminance 0.435; OKLCH L 77.1% C 0.108 H 4.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#EF97AC
RGBrgb(239, 151, 172)
HSLhsl(346, 73%, 76%)
HSVhsv(346, 37%, 94%)
CMYKcmyk(0%, 36.8%, 28%, 6.3%)
CIE-LABlab(71.87, 35.65, 3.01)
CIE-LCHlch(71.87, 35.78, 4.83°)
OKLaboklab(77.13% 0.1079 0.0084)
OKLCHoklch(77.13% 0.108 4.4)
XYZxyz(54.1112, 43.4663, 44.5615)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97AC #97EFDA
analogous
#EF97D8 #EF97AC #EFAE97
triadic
#EF97AC #ACEF97 #97ACEF
tetradic
#EF97AC #D8EF97 #97EFDA #AE97EF
square
#EF97AC #D8EF97 #97EFDA #AE97EF
split-complementary
#EF97AC #97EFAE #97D8EF
monochromatic
#DF2D57 #E76282 #EF97AC #F7CCD6 #FBE4EA

Accessibility & contrast

On white

2.17
#EF97AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#EF97AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97AC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97AC#FFFFFF#000000##000000
##EF97AC1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4A6AD
Deuteranopia (green-blind)
#BAB6AA
Tritanopia (blue-blind)
#FD919E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef97ac;
/* rgb */ color: rgb(239, 151, 172);
/* oklch */ color: oklch(77.1% 0.108 4.4);
Tailwind
colors: {
  custom: {
    50: '#f6b6c4',
    500: '#ef97ac',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ac;
$custom-light: #f6b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ac",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 172
  },
  "hsl": {
    "h": 345.682,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77128,
    "c": 0.10819,
    "h": 4.4
  },
  "luminance": 0.43462
}

Semantic roles & 50–950 ramp

primary
#EF97AC
secondary
#D8F3EC
accent
#D5A610
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171112
muted
#858081

Preview Lab

Preview with #EF97AC

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

Preview Lab → · Contrast checker → · Palette generator →

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