#DF87CA#DF87CA

#DF87CA is a light, vivid pink. Relative luminance 0.373; OKLCH L 73.7% C 0.136 H 336.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#DF87CA
RGBrgb(223, 135, 202)
HSLhsl(314, 58%, 70%)
HSVhsv(314, 39%, 87%)
CMYKcmyk(0%, 39.5%, 9.4%, 12.5%)
CIE-LABlab(67.49, 43.10, -20.42)
CIE-LCHlch(67.49, 47.70, 334.65°)
OKLaboklab(73.69% 0.1245 -0.0548)
OKLCHoklch(73.69% 0.136 336.2)
XYZxyz(49.7560, 37.2829, 60.4412)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87CA #87DF9C
analogous
#C887DF #DF87CA #DF879E
triadic
#DF87CA #CADF87 #87CADF
tetradic
#DF87CA #DFC887 #87DF9C #879EDF
square
#DF87CA #DFC887 #87DF9C #879EDF
split-complementary
#DF87CA #9EDF87 #87DFC8
monochromatic
#BA3299 #D257B5 #DF87CA #ECB7DF #F9E7F4

Accessibility & contrast

On white

2.48
#DF87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#DF87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87CA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87CA#FFFFFF#000000##000000
##DF87CA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#889CCC
Deuteranopia (green-blind)
#9FA9C7
Tritanopia (blue-blind)
#E78AA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df87ca;
/* rgb */ color: rgb(223, 135, 202);
/* oklch */ color: oklch(73.7% 0.136 336.2);
Tailwind
colors: {
  custom: {
    50: '#eaacda',
    500: '#df87ca',
    950: '#000000',
  },
}
SCSS
$custom: #df87ca;
$custom-light: #eaacda;
$custom-dark: #000000;
JSON
{
  "hex": "#df87ca",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 314.318,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73694,
    "c": 0.13603,
    "h": 336.2
  },
  "luminance": 0.3728
}

Semantic roles & 50–950 ramp

primary
#DF87CA
secondary
#D5EDDB
accent
#C54720
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DF87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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