#DB98CD#DB98CD

#DB98CD is a light, moderate pink. Relative luminance 0.419; OKLCH L 76.2% C 0.105 H 334.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#DB98CD
RGBrgb(219, 152, 205)
HSLhsl(313, 48%, 73%)
HSVhsv(313, 31%, 86%)
CMYKcmyk(0%, 30.6%, 6.4%, 14.1%)
CIE-LABlab(70.82, 33.29, -17.08)
CIE-LCHlch(70.82, 37.42, 332.84°)
OKLaboklab(76.16% 0.095 -0.0457)
OKLCHoklch(76.16% 0.105 334.3)
XYZxyz(51.4605, 41.9265, 63.1277)
Luminance0.4192 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98CD #98DBA6
analogous
#C798DB #DB98CD #DB98AC
triadic
#DB98CD #CDDB98 #98CDDB
tetradic
#DB98CD #DBC798 #98DBA6 #98ACDB
square
#DB98CD #DBC798 #98DBA6 #98ACDB
split-complementary
#DB98CD #ACDB98 #98DBC7
monochromatic
#B8409F #CB6BB7 #DB98CD #EBC5E3 #F7E8F4

Accessibility & contrast

On white

2.24
#DB98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#DB98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98CD
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98CD#FFFFFF#000000##000000
##DB98CD1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CF
Deuteranopia (green-blind)
#A8B1CB
Tritanopia (blue-blind)
#E19BAB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db98cd;
/* rgb */ color: rgb(219, 152, 205);
/* oklch */ color: oklch(76.2% 0.105 334.3);
Tailwind
colors: {
  custom: {
    50: '#e7b7dc',
    500: '#db98cd',
    950: '#000000',
  },
}
SCSS
$custom: #db98cd;
$custom-light: #e7b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#db98cd",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 312.537,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.10547,
    "h": 334.3
  },
  "luminance": 0.41924
}

Semantic roles & 50–950 ramp

primary
#DB98CD
secondary
#DDEEE0
accent
#BB482A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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