#EF97AB#EF97AB

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

Color values

HEX#EF97AB
RGBrgb(239, 151, 171)
HSLhsl(346, 73%, 76%)
HSVhsv(346, 37%, 94%)
CMYKcmyk(0%, 36.8%, 28.5%, 6.3%)
CIE-LABlab(71.84, 35.52, 3.53)
CIE-LCHlch(71.84, 35.69, 5.67°)
OKLaboklab(77.1% 0.1075 0.0097)
OKLCHoklch(77.1% 0.108 5.2)
XYZxyz(54.0155, 43.4280, 44.0576)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97AB #97EFDB
analogous
#EF97D7 #EF97AB #EFAF97
triadic
#EF97AB #ABEF97 #97ABEF
tetradic
#EF97AB #D7EF97 #97EFDB #AF97EF
square
#EF97AB #D7EF97 #97EFDB #AF97EF
split-complementary
#EF97AB #97EFAF #97D7EF
monochromatic
#DF2D55 #E76280 #EF97AB #F7CCD6 #FBE4EA

Accessibility & contrast

On white

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

On black

9.68
#EF97AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97AB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97AB#FFFFFF#000000##000000
##EF97AB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5A6AC
Deuteranopia (green-blind)
#BAB6A9
Tritanopia (blue-blind)
#FE909E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef97ab;
/* rgb */ color: rgb(239, 151, 171);
/* oklch */ color: oklch(77.1% 0.108 5.2);
Tailwind
colors: {
  custom: {
    50: '#f6b6c3',
    500: '#ef97ab',
    950: '#000000',
  },
}
SCSS
$custom: #ef97ab;
$custom-light: #f6b6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97ab",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 346.364,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.771,
    "c": 0.10795,
    "h": 5.2
  },
  "luminance": 0.43424
}

Semantic roles & 50–950 ramp

primary
#EF97AB
secondary
#D8F3ED
accent
#D5A910
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171112
muted
#858081

Preview Lab

Preview with #EF97AB

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

Preview Lab → · Contrast checker → · Palette generator →

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