#DF2EC1#DF2EC1

#DF2EC1 is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 63.3% C 0.252 H 336.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#DF2EC1
RGBrgb(223, 46, 193)
HSLhsl(310, 73%, 53%)
HSVhsv(310, 79%, 87%)
CMYKcmyk(0%, 79.4%, 13.5%, 12.5%)
CIE-LABlab(53.49, 78.38, -36.95)
CIE-LCHlch(53.49, 86.65, 334.76°)
OKLaboklab(63.26% 0.2306 -0.1008)
OKLCHoklch(63.26% 0.252 336.4)
XYZxyz(41.0348, 21.4961, 52.4298)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF2EC1 #2EDF4C
analogous
#A42EDF #DF2EC1 #DF2E69
triadic
#DF2EC1 #C1DF2E #2EC1DF
tetradic
#DF2EC1 #DFA42E #2EDF4C #2E69DF
square
#DF2EC1 #DFA42E #2EDF4C #2E69DF
split-complementary
#DF2EC1 #69DF2E #2EDFA4
monochromatic
#7F136D #B41C9A #DF2EC1 #E763D1 #EF98E0

Accessibility & contrast

On white

3.96
#DF2EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#DF2EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF2EC1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF2EC1#FFFFFF#000000##000000
##DF2EC11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#326FC5
Deuteranopia (green-blind)
#7389BD
Tritanopia (blue-blind)
#EB3D77
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #df2ec1;
/* rgb */ color: rgb(223, 46, 193);
/* oklch */ color: oklch(63.3% 0.252 336.4);
Tailwind
colors: {
  custom: {
    50: '#ee7cd4',
    500: '#df2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #df2ec1;
$custom-light: #ee7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#df2ec1",
  "rgb": {
    "r": 223,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 310.169,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.2517,
    "h": 336.4
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#DF2EC1
secondary
#8EDB9B
accent
#F05738
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DF2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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