#DB98CE#DB98CE

#DB98CE is a light, moderate pink. Relative luminance 0.420; OKLCH L 76.2% C 0.106 H 333.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#DB98CE
RGBrgb(219, 152, 206)
HSLhsl(312, 48%, 73%)
HSVhsv(312, 31%, 86%)
CMYKcmyk(0%, 30.6%, 5.9%, 14.1%)
CIE-LABlab(70.85, 33.47, -17.58)
CIE-LCHlch(70.85, 37.81, 332.29°)
OKLaboklab(76.19% 0.0953 -0.0471)
OKLCHoklch(76.19% 0.106 333.7)
XYZxyz(51.5816, 41.9749, 63.7655)
Luminance0.4197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98CE #98DBA5
analogous
#C698DB #DB98CE #DB98AC
triadic
#DB98CE #CEDB98 #98CEDB
tetradic
#DB98CE #DBC698 #98DBA5 #98ACDB
square
#DB98CE #DBC698 #98DBA5 #98ACDB
split-complementary
#DB98CE #ACDB98 #98DBC6
monochromatic
#B840A1 #CB6BB8 #DB98CE #EBC5E4 #F7E8F4

Accessibility & contrast

On white

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

On black

9.39
#DB98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98CE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98CE#FFFFFF#000000##000000
##DB98CE1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db98ce;
/* rgb */ color: rgb(219, 152, 206);
/* oklch */ color: oklch(76.2% 0.106 333.7);
Tailwind
colors: {
  custom: {
    50: '#e7b7dd',
    500: '#db98ce',
    950: '#000000',
  },
}
SCSS
$custom: #db98ce;
$custom-light: #e7b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ce",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 311.642,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.10635,
    "h": 333.7
  },
  "luminance": 0.41973
}

Semantic roles & 50–950 ramp

primary
#DB98CE
secondary
#DDEEE0
accent
#BB462A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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