#DF7EC2#DF7EC2

#DF7EC2 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.0% C 0.145 H 339.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DF7EC2
RGBrgb(223, 126, 194)
HSLhsl(318, 60%, 68%)
HSVhsv(318, 43%, 87%)
CMYKcmyk(0%, 43.5%, 13%, 12.5%)
CIE-LABlab(65.36, 46.44, -19.17)
CIE-LCHlch(65.36, 50.24, 337.57°)
OKLaboklab(72% 0.1359 -0.0513)
OKLCHoklch(72% 0.145 339.3)
XYZxyz(47.6302, 34.5078, 55.1804)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EC2 #7EDF9B
analogous
#CB7EDF #DF7EC2 #DF7E91
triadic
#DF7EC2 #C2DF7E #7EC2DF
tetradic
#DF7EC2 #DFCB7E #7EDF9B #7E91DF
square
#DF7EC2 #DFCB7E #7EDF9B #7E91DF
split-complementary
#DF7EC2 #91DF7E #7EDFCB
monochromatic
#B62D8D #D34DAB #DF7EC2 #EBAFD9 #F7E0F0

Accessibility & contrast

On white

2.66
#DF7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DF7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EC2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EC2#FFFFFF#000000##000000
##DF7EC21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8295C4
Deuteranopia (green-blind)
#9BA4BF
Tritanopia (blue-blind)
#E98097
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df7ec2;
/* rgb */ color: rgb(223, 126, 194);
/* oklch */ color: oklch(72.0% 0.145 339.3);
Tailwind
colors: {
  custom: {
    50: '#eba6d4',
    500: '#df7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #df7ec2;
$custom-light: #eba6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ec2",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 317.938,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72002,
    "c": 0.1452,
    "h": 339.3
  },
  "luminance": 0.34505
}

Semantic roles & 50–950 ramp

primary
#DF7EC2
secondary
#CEEBD7
accent
#C8511E
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DF7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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