#DF8EC2#DF8EC2

#DF8EC2 is a light, moderate pink. Relative luminance 0.389; OKLCH L 74.5% C 0.118 H 341.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#DF8EC2
RGBrgb(223, 142, 194)
HSLhsl(321, 56%, 72%)
HSVhsv(321, 36%, 87%)
CMYKcmyk(0%, 36.3%, 13%, 12.5%)
CIE-LABlab(68.70, 38.11, -14.12)
CIE-LCHlch(68.70, 40.64, 339.66°)
OKLaboklab(74.52% 0.1115 -0.0375)
OKLCHoklch(74.52% 0.118 341.4)
XYZxyz(49.8422, 38.9318, 55.9177)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EC2 #8EDFAB
analogous
#D38EDF #DF8EC2 #DF8E9A
triadic
#DF8EC2 #C2DF8E #8EC2DF
tetradic
#DF8EC2 #DFD38E #8EDFAB #8E9ADF
square
#DF8EC2 #DFD38E #8EDFAB #8E9ADF
split-complementary
#DF8EC2 #9ADF8E #8EDFD3
monochromatic
#BD368D #D15EA8 #DF8EC2 #EDBEDC #F8E7F2

Accessibility & contrast

On white

2.39
#DF8EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#DF8EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EC2
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EC2#FFFFFF#000000##000000
##DF8EC21.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A0C4
Deuteranopia (green-blind)
#A6ACC0
Tritanopia (blue-blind)
#E88FA1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #df8ec2;
/* rgb */ color: rgb(223, 142, 194);
/* oklch */ color: oklch(74.5% 0.118 341.4);
Tailwind
colors: {
  custom: {
    50: '#eab0d4',
    500: '#df8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #df8ec2;
$custom-light: #eab0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ec2",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 321.481,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74522,
    "c": 0.11767,
    "h": 341.4
  },
  "luminance": 0.38929
}

Semantic roles & 50–950 ramp

primary
#DF8EC2
secondary
#DAEFE1
accent
#C35C22
background
#FEFAFD
surface
#FDF5FA
border
#D5CFD3
text
#161114
muted
#848083

Preview Lab

Preview with #DF8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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