#EF97A2#EF97A2

#EF97A2 is a light, moderate red. Relative luminance 0.431; OKLCH L 76.9% C 0.106 H 11.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#EF97A2
RGBrgb(239, 151, 162)
HSLhsl(353, 73%, 76%)
HSVhsv(353, 37%, 94%)
CMYKcmyk(0%, 36.8%, 32.2%, 6.3%)
CIE-LABlab(71.62, 34.35, 8.20)
CIE-LCHlch(71.62, 35.32, 13.42°)
OKLaboklab(76.85% 0.1042 0.0217)
OKLCHoklch(76.85% 0.106 11.7)
XYZxyz(53.1867, 43.0965, 39.6926)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF97A2 #97EFE4
analogous
#EF97CE #EF97A2 #EFB897
triadic
#EF97A2 #A2EF97 #97A2EF
tetradic
#EF97A2 #CEEF97 #97EFE4 #B897EF
square
#EF97A2 #CEEF97 #97EFE4 #B897EF
split-complementary
#EF97A2 #97EFB8 #97CEEF
monochromatic
#DF2D43 #E76273 #EF97A2 #F7CCD1 #FBE4E7

Accessibility & contrast

On white

2.18
#EF97A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#EF97A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF97A2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF97A2#FFFFFF#000000##000000
##EF97A21.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A5A2
Deuteranopia (green-blind)
#BCB6A0
Tritanopia (blue-blind)
#FE8F9B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef97a2;
/* rgb */ color: rgb(239, 151, 162);
/* oklch */ color: oklch(76.9% 0.106 11.7);
Tailwind
colors: {
  custom: {
    50: '#f6b6bd',
    500: '#ef97a2',
    950: '#000000',
  },
}
SCSS
$custom: #ef97a2;
$custom-light: #f6b6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef97a2",
  "rgb": {
    "r": 239,
    "g": 151,
    "b": 162
  },
  "hsl": {
    "h": 352.5,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76855,
    "c": 0.10642,
    "h": 11.7
  },
  "luminance": 0.43093
}

Semantic roles & 50–950 ramp

primary
#EF97A2
secondary
#D8F3EF
accent
#D5BD10
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#171112
muted
#858081

Preview Lab

Preview with #EF97A2

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

Preview Lab → · Contrast checker → · Palette generator →

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