#DF98D2#DF98D2

#DF98D2 is a light, moderate pink. Relative luminance 0.428; OKLCH L 76.8% C 0.113 H 333.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#DF98D2
RGBrgb(223, 152, 210)
HSLhsl(311, 53%, 74%)
HSVhsv(311, 32%, 87%)
CMYKcmyk(0%, 31.8%, 5.8%, 12.5%)
CIE-LABlab(71.42, 35.49, -18.89)
CIE-LCHlch(71.42, 40.21, 331.97°)
OKLaboklab(76.76% 0.101 -0.0507)
OKLCHoklch(76.76% 0.113 333.3)
XYZxyz(53.2919, 42.7999, 66.4143)
Luminance0.4280 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98D2 #98DFA5
analogous
#C898DF #DF98D2 #DF98AE
triadic
#DF98D2 #D2DF98 #98D2DF
tetradic
#DF98D2 #DFC898 #98DFA5 #98AEDF
square
#DF98D2 #DFC898 #98DFA5 #98AEDF
split-complementary
#DF98D2 #AEDF98 #98DFC8
monochromatic
#C13CA8 #D069BE #DF98D2 #EEC7E6 #F8E8F5

Accessibility & contrast

On white

2.20
#DF98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#DF98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98D2
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98D2#FFFFFF#000000##000000
##DF98D21.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A9D4
Deuteranopia (green-blind)
#A9B3D0
Tritanopia (blue-blind)
#E59BAD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df98d2;
/* rgb */ color: rgb(223, 152, 210);
/* oklch */ color: oklch(76.8% 0.113 333.3);
Tailwind
colors: {
  custom: {
    50: '#eab7df',
    500: '#df98d2',
    950: '#000000',
  },
}
SCSS
$custom: #df98d2;
$custom-light: #eab7df;
$custom-dark: #000000;
JSON
{
  "hex": "#df98d2",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 310.986,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76762,
    "c": 0.11305,
    "h": 333.3
  },
  "luminance": 0.42798
}

Semantic roles & 50–950 ramp

primary
#DF98D2
secondary
#DCEFE0
accent
#C04225
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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