#DF98CD#DF98CD

#DF98CD is a light, moderate pink. Relative luminance 0.426; OKLCH L 76.6% C 0.109 H 336.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#DF98CD
RGBrgb(223, 152, 205)
HSLhsl(315, 53%, 74%)
HSVhsv(315, 32%, 87%)
CMYKcmyk(0%, 31.8%, 8.1%, 12.5%)
CIE-LABlab(71.25, 34.63, -16.39)
CIE-LCHlch(71.25, 38.31, 334.68°)
OKLaboklab(76.58% 0.0996 -0.0438)
OKLCHoklch(76.58% 0.109 336.3)
XYZxyz(52.6787, 42.5546, 63.1848)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98CD #98DFAA
analogous
#CD98DF #DF98CD #DF98A9
triadic
#DF98CD #CDDF98 #98CDDF
tetradic
#DF98CD #DFCD98 #98DFAA #98A9DF
square
#DF98CD #DFCD98 #98DFAA #98A9DF
split-complementary
#DF98CD #A9DF98 #98DFCD
monochromatic
#C13C9F #D069B6 #DF98CD #EEC7E4 #F8E8F4

Accessibility & contrast

On white

2.21
#DF98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#DF98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98CD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98CD#FFFFFF#000000##000000
##DF98CD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A8CF
Deuteranopia (green-blind)
#AAB2CB
Tritanopia (blue-blind)
#E69AAB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df98cd;
/* rgb */ color: rgb(223, 152, 205);
/* oklch */ color: oklch(76.6% 0.109 336.3);
Tailwind
colors: {
  custom: {
    50: '#eab7dc',
    500: '#df98cd',
    950: '#000000',
  },
}
SCSS
$custom: #df98cd;
$custom-light: #eab7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#df98cd",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 315.211,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7658,
    "c": 0.10876,
    "h": 336.3
  },
  "luminance": 0.42552
}

Semantic roles & 50–950 ramp

primary
#DF98CD
secondary
#DCEFE1
accent
#C04D25
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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