#DF7EA2#DF7EA2

#DF7EA2 is a light, vivid pink. Relative luminance 0.332; OKLCH L 70.9% C 0.126 H 357.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#DF7EA2
RGBrgb(223, 126, 162)
HSLhsl(338, 60%, 68%)
HSVhsv(338, 43%, 87%)
CMYKcmyk(0%, 43.5%, 27.4%, 12.5%)
CIE-LABlab(64.34, 41.71, -2.60)
CIE-LCHlch(64.34, 41.79, 356.43°)
OKLaboklab(70.89% 0.126 -0.0063)
OKLCHoklch(70.89% 0.126 357.1)
XYZxyz(44.4153, 33.2218, 38.2486)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EA2 #7EDFBB
analogous
#DF7ED2 #DF7EA2 #DF8A7E
triadic
#DF7EA2 #A2DF7E #7EA2DF
tetradic
#DF7EA2 #D2DF7E #7EDFBB #8A7EDF
square
#DF7EA2 #D2DF7E #7EDFBB #8A7EDF
split-complementary
#DF7EA2 #7EDF8A #7ED2DF
monochromatic
#B62D60 #D34D7F #DF7EA2 #EBAFC5 #F7E0E9

Accessibility & contrast

On white

2.75
#DF7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#DF7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EA2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EA2#FFFFFF#000000##000000
##DF7EA21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#A3A3A0
Tritanopia (blue-blind)
#ED798B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #df7ea2;
/* rgb */ color: rgb(223, 126, 162);
/* oklch */ color: oklch(70.9% 0.126 357.1);
Tailwind
colors: {
  custom: {
    50: '#eba5bd',
    500: '#df7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #df7ea2;
$custom-light: #eba5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ea2",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 337.732,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70892,
    "c": 0.12616,
    "h": 357.1
  },
  "luminance": 0.33218
}

Semantic roles & 50–950 ramp

primary
#DF7EA2
secondary
#CEEBE0
accent
#C8891E
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DF7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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