#DF7EC8#DF7EC8

#DF7EC8 is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.2% C 0.150 H 336.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#DF7EC8
RGBrgb(223, 126, 200)
HSLhsl(314, 60%, 68%)
HSVhsv(314, 43%, 87%)
CMYKcmyk(0%, 43.5%, 10.3%, 12.5%)
CIE-LABlab(65.58, 47.41, -22.22)
CIE-LCHlch(65.58, 52.36, 334.90°)
OKLaboklab(72.23% 0.1374 -0.0597)
OKLCHoklch(72.23% 0.15 336.5)
XYZxyz(48.3177, 34.7828, 58.8012)
Luminance0.3478 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EC8 #7EDF95
analogous
#C57EDF #DF7EC8 #DF7E97
triadic
#DF7EC8 #C8DF7E #7EC8DF
tetradic
#DF7EC8 #DFC57E #7EDF95 #7E97DF
square
#DF7EC8 #DFC57E #7EDF95 #7E97DF
split-complementary
#DF7EC8 #97DF7E #7EDFC5
monochromatic
#B62D95 #D34DB3 #DF7EC8 #EBAFDD #F7E0F2

Accessibility & contrast

On white

2.64
#DF7EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#DF7EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EC8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EC8#FFFFFF#000000##000000
##DF7EC81.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CB
Deuteranopia (green-blind)
#99A5C5
Tritanopia (blue-blind)
#E8829A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df7ec8;
/* rgb */ color: rgb(223, 126, 200);
/* oklch */ color: oklch(72.2% 0.150 336.5);
Tailwind
colors: {
  custom: {
    50: '#eba6d8',
    500: '#df7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #df7ec8;
$custom-light: #eba6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ec8",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 314.227,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72234,
    "c": 0.14983,
    "h": 336.5
  },
  "luminance": 0.3478
}

Semantic roles & 50–950 ramp

primary
#DF7EC8
secondary
#CEEBD5
accent
#C8461E
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DF7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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