#DF7EC7#DF7EC7

#DF7EC7 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.2% C 0.149 H 337.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DF7EC7
RGBrgb(223, 126, 199)
HSLhsl(315, 60%, 68%)
HSVhsv(315, 43%, 87%)
CMYKcmyk(0%, 43.5%, 10.8%, 12.5%)
CIE-LABlab(65.54, 47.25, -21.71)
CIE-LCHlch(65.54, 52.00, 335.32°)
OKLaboklab(72.19% 0.1372 -0.0583)
OKLCHoklch(72.19% 0.149 337)
XYZxyz(48.2012, 34.7362, 58.1877)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EC7 #7EDF96
analogous
#C67EDF #DF7EC7 #DF7E96
triadic
#DF7EC7 #C7DF7E #7EC7DF
tetradic
#DF7EC7 #DFC67E #7EDF96 #7E96DF
square
#DF7EC7 #DFC67E #7EDF96 #7E96DF
split-complementary
#DF7EC7 #96DF7E #7EDFC6
monochromatic
#B62D94 #D34DB2 #DF7EC7 #EBAFDC #F7E0F2

Accessibility & contrast

On white

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

On black

7.95
#DF7EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EC7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EC7#FFFFFF#000000##000000
##DF7EC71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096CA
Deuteranopia (green-blind)
#99A5C4
Tritanopia (blue-blind)
#E8819A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df7ec7;
/* rgb */ color: rgb(223, 126, 199);
/* oklch */ color: oklch(72.2% 0.149 337.0);
Tailwind
colors: {
  custom: {
    50: '#eba6d8',
    500: '#df7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #df7ec7;
$custom-light: #eba6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ec7",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 314.845,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72195,
    "c": 0.14904,
    "h": 337
  },
  "luminance": 0.34733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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