#DF98CF#DF98CF

#DF98CF is a light, moderate pink. Relative luminance 0.426; OKLCH L 76.7% C 0.110 H 335.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#DF98CF
RGBrgb(223, 152, 207)
HSLhsl(314, 53%, 74%)
HSVhsv(314, 32%, 87%)
CMYKcmyk(0%, 31.8%, 7.2%, 12.5%)
CIE-LABlab(71.32, 34.97, -17.39)
CIE-LCHlch(71.32, 39.06, 333.56°)
OKLaboklab(76.65% 0.1002 -0.0465)
OKLCHoklch(76.65% 0.11 335.1)
XYZxyz(52.9217, 42.6518, 64.4644)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98CF #98DFA8
analogous
#CB98DF #DF98CF #DF98AB
triadic
#DF98CF #CFDF98 #98CFDF
tetradic
#DF98CF #DFCB98 #98DFA8 #98ABDF
square
#DF98CF #DFCB98 #98DFA8 #98ABDF
split-complementary
#DF98CF #ABDF98 #98DFCB
monochromatic
#C13CA3 #D069B9 #DF98CF #EEC7E5 #F8E8F4

Accessibility & contrast

On white

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

On black

9.53
#DF98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98CF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98CF#FFFFFF#000000##000000
##DF98CF1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8D1
Deuteranopia (green-blind)
#A9B2CD
Tritanopia (blue-blind)
#E69BAC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #df98cf;
/* rgb */ color: rgb(223, 152, 207);
/* oklch */ color: oklch(76.7% 0.110 335.1);
Tailwind
colors: {
  custom: {
    50: '#eab7dd',
    500: '#df98cf',
    950: '#000000',
  },
}
SCSS
$custom: #df98cf;
$custom-light: #eab7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#df98cf",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 313.521,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76652,
    "c": 0.11045,
    "h": 335.1
  },
  "luminance": 0.42649
}

Semantic roles & 50–950 ramp

primary
#DF98CF
secondary
#DCEFE0
accent
#C04825
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DF98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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