#D98CC2#D98CC2

#D98CC2 is a light, moderate pink. Relative luminance 0.374; OKLCH L 73.5% C 0.116 H 338.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D98CC2
RGBrgb(217, 140, 194)
HSLhsl(318, 50%, 70%)
HSVhsv(318, 35%, 85%)
CMYKcmyk(0%, 35.5%, 10.6%, 14.9%)
CIE-LABlab(67.58, 37.17, -15.88)
CIE-LCHlch(67.58, 40.42, 336.86°)
OKLaboklab(73.52% 0.1079 -0.0423)
OKLCHoklch(73.52% 0.116 338.6)
XYZxyz(47.7309, 37.4054, 55.7343)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CC2 #8CD9A3
analogous
#C98CD9 #D98CC2 #D98C9C
triadic
#D98CC2 #C2D98C #8CC2D9
tetradic
#D98CC2 #D9C98C #8CD9A3 #8C9CD9
square
#D98CC2 #D9C98C #8CD9A3 #8C9CD9
split-complementary
#D98CC2 #9CD98C #8CD9C9
monochromatic
#B03A8D #CA5EAA #D98CC2 #E8BADA #F7E8F3

Accessibility & contrast

On white

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

On black

8.48
#D98CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CC2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CC2#FFFFFF#000000##000000
##D98CC21.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9DC4
Deuteranopia (green-blind)
#A1A9C0
Tritanopia (blue-blind)
#E18E9F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98cc2;
/* rgb */ color: rgb(217, 140, 194);
/* oklch */ color: oklch(73.5% 0.116 338.6);
Tailwind
colors: {
  custom: {
    50: '#e6afd4',
    500: '#d98cc2',
    950: '#000000',
  },
}
SCSS
$custom: #d98cc2;
$custom-light: #e6afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cc2",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 317.922,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.73521,
    "c": 0.11589,
    "h": 338.6
  },
  "luminance": 0.37403
}

Semantic roles & 50–950 ramp

primary
#D98CC2
secondary
#D6EBDC
accent
#BE5528
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D98CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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