#D798CA#D798CA

#D798CA is a light, moderate pink. Relative luminance 0.412; OKLCH L 75.6% C 0.100 H 334.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D798CA
RGBrgb(215, 152, 202)
HSLhsl(312, 44%, 72%)
HSVhsv(312, 29%, 84%)
CMYKcmyk(0%, 29.3%, 6%, 15.7%)
CIE-LABlab(70.29, 31.43, -16.26)
CIE-LCHlch(70.29, 35.39, 332.65°)
OKLaboklab(75.63% 0.0896 -0.0435)
OKLCHoklch(75.63% 0.1 334.1)
XYZxyz(49.9126, 41.1698, 61.1831)
Luminance0.4117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D798CA #98D7A5
analogous
#C598D7 #D798CA #D798AB
triadic
#D798CA #CAD798 #98CAD7
tetradic
#D798CA #D7C598 #98D7A5 #98ABD7
square
#D798CA #D7C598 #98D7A5 #98ABD7
split-complementary
#D798CA #ABD798 #98D7C5
monochromatic
#B0449A #C66CB3 #D798CA #E8C4E1 #F6E9F4

Accessibility & contrast

On white

2.27
#D798CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#D798CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D798CA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D798CA#FFFFFF#000000##000000
##D798CA1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A6CC
Deuteranopia (green-blind)
#A7AFC8
Tritanopia (blue-blind)
#DD9BAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d798ca;
/* rgb */ color: rgb(215, 152, 202);
/* oklch */ color: oklch(75.6% 0.100 334.1);
Tailwind
colors: {
  custom: {
    50: '#e4b7da',
    500: '#d798ca',
    950: '#000000',
  },
}
SCSS
$custom: #d798ca;
$custom-light: #e4b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#d798ca",
  "rgb": {
    "r": 215,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 312.381,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75626,
    "c": 0.0996,
    "h": 334.1
  },
  "luminance": 0.41168
}

Semantic roles & 50–950 ramp

primary
#D798CA
secondary
#DEEDE1
accent
#B74B2E
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #D798CA

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

Preview Lab → · Contrast checker → · Palette generator →

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