#DB98CA#DB98CA

#DB98CA is a light, moderate pink. Relative luminance 0.418; OKLCH L 76.0% C 0.103 H 336.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#DB98CA
RGBrgb(219, 152, 202)
HSLhsl(315, 48%, 73%)
HSVhsv(315, 31%, 86%)
CMYKcmyk(0%, 30.6%, 7.8%, 14.1%)
CIE-LABlab(70.72, 32.77, -15.57)
CIE-LCHlch(70.72, 36.28, 334.59°)
OKLaboklab(76.05% 0.0941 -0.0416)
OKLCHoklch(76.05% 0.103 336.2)
XYZxyz(51.1019, 41.7830, 61.2388)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98CA #98DBA9
analogous
#CA98DB #DB98CA #DB98A8
triadic
#DB98CA #CADB98 #98CADB
tetradic
#DB98CA #DBCA98 #98DBA9 #98A8DB
square
#DB98CA #DBCA98 #98DBA9 #98A8DB
split-complementary
#DB98CA #A8DB98 #98DBCA
monochromatic
#B8409A #CB6BB3 #DB98CA #EBC5E1 #F7E8F3

Accessibility & contrast

On white

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

On black

9.36
#DB98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98CA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98CA#FFFFFF#000000##000000
##DB98CA1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A7CC
Deuteranopia (green-blind)
#A9B1C8
Tritanopia (blue-blind)
#E29AAA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db98ca;
/* rgb */ color: rgb(219, 152, 202);
/* oklch */ color: oklch(76.0% 0.103 336.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7da',
    500: '#db98ca',
    950: '#000000',
  },
}
SCSS
$custom: #db98ca;
$custom-light: #e7b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ca",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 315.224,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76047,
    "c": 0.1029,
    "h": 336.2
  },
  "luminance": 0.41781
}

Semantic roles & 50–950 ramp

primary
#DB98CA
secondary
#DDEEE1
accent
#BB4F2A
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #DB98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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