#DB98CF#DB98CF

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

Color values

HEX#DB98CF
RGBrgb(219, 152, 207)
HSLhsl(311, 48%, 73%)
HSVhsv(311, 31%, 86%)
CMYKcmyk(0%, 30.6%, 5.5%, 14.1%)
CIE-LABlab(70.89, 33.65, -18.08)
CIE-LCHlch(70.89, 38.20, 331.74°)
OKLaboklab(76.23% 0.0956 -0.0485)
OKLCHoklch(76.23% 0.107 333.1)
XYZxyz(51.7035, 42.0236, 64.4073)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98CF #98DBA4
analogous
#C598DB #DB98CF #DB98AE
triadic
#DB98CF #CFDB98 #98CFDB
tetradic
#DB98CF #DBC598 #98DBA4 #98AEDB
square
#DB98CF #DBC598 #98DBA4 #98AEDB
split-complementary
#DB98CF #AEDB98 #98DBC5
monochromatic
#B840A3 #CB6BBA #DB98CF #EBC5E4 #F7E8F4

Accessibility & contrast

On white

2.23
#DB98CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DB98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98CF
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98CF#FFFFFF#000000##000000
##DB98CF1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A8D1
Deuteranopia (green-blind)
#A7B1CD
Tritanopia (blue-blind)
#E19BAC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db98cf;
/* rgb */ color: rgb(219, 152, 207);
/* oklch */ color: oklch(76.2% 0.107 333.1);
Tailwind
colors: {
  custom: {
    50: '#e7b7dd',
    500: '#db98cf',
    950: '#000000',
  },
}
SCSS
$custom: #db98cf;
$custom-light: #e7b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db98cf",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 310.746,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.10724,
    "h": 333.1
  },
  "luminance": 0.42022
}

Semantic roles & 50–950 ramp

primary
#DB98CF
secondary
#DDEEE0
accent
#BB442A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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