#DF4EC2#DF4EC2

#DF4EC2 is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.9% C 0.218 H 336.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#DF4EC2
RGBrgb(223, 78, 194)
HSLhsl(312, 69%, 59%)
HSVhsv(312, 65%, 87%)
CMYKcmyk(0%, 65%, 13%, 12.5%)
CIE-LABlab(57.11, 68.39, -31.87)
CIE-LCHlch(57.11, 75.45, 335.02°)
OKLaboklab(65.89% 0.2006 -0.0865)
OKLCHoklch(65.89% 0.218 336.7)
XYZxyz(42.8940, 25.0355, 53.6017)
Luminance0.2503 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF4EC2 #4EDF6B
analogous
#B44EDF #DF4EC2 #DF4E7A
triadic
#DF4EC2 #C2DF4E #4EC2DF
tetradic
#DF4EC2 #DFB44E #4EDF6B #4E7ADF
square
#DF4EC2 #DFB44E #4EDF6B #4E7ADF
split-complementary
#DF4EC2 #7ADF4E #4EDFB4
monochromatic
#971B7E #CB25AA #DF4EC2 #E882D4 #F2B6E6

Accessibility & contrast

On white

3.50
#DF4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#DF4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF4EC2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF4EC2#FFFFFF#000000##000000
##DF4EC21.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#7F91BE
Tritanopia (blue-blind)
#EA5681
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df4ec2;
/* rgb */ color: rgb(223, 78, 194);
/* oklch */ color: oklch(65.9% 0.218 336.7);
Tailwind
colors: {
  custom: {
    50: '#ed89d4',
    500: '#df4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #df4ec2;
$custom-light: #ed89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#df4ec2",
  "rgb": {
    "r": 223,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 312,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.21842,
    "h": 336.7
  },
  "luminance": 0.25032
}

Semantic roles & 50–950 ramp

primary
#DF4EC2
secondary
#A8E1B3
accent
#EC5F3C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DF4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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