#DB5198#DB5198

#DB5198 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.9% C 0.186 H 351.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#DB5198
RGBrgb(219, 81, 152)
HSLhsl(329, 66%, 59%)
HSVhsv(329, 63%, 86%)
CMYKcmyk(0%, 63%, 30.6%, 14.1%)
CIE-LABlab(55.29, 60.47, -10.31)
CIE-LCHlch(55.29, 61.35, 350.32°)
OKLaboklab(63.9% 0.1841 -0.0266)
OKLCHoklch(63.9% 0.186 351.8)
XYZxyz(37.8252, 23.2159, 32.1888)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5198 #51DB94
analogous
#D951DB #DB5198 #DB5153
triadic
#DB5198 #98DB51 #5198DB
tetradic
#DB5198 #DBD951 #51DB94 #5153DB
square
#DB5198 #DBD951 #51DB94 #5153DB
split-complementary
#DB5198 #53DB51 #51DBD9
monochromatic
#931E5A #C6297A #DB5198 #E584B6 #F0B6D4

Accessibility & contrast

On white

3.72
#DB5198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#DB5198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5198
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5198#FFFFFF#000000##000000
##DB51981.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#65759A
Deuteranopia (green-blind)
#8B8E95
Tritanopia (blue-blind)
#EB496E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db5198;
/* rgb */ color: rgb(219, 81, 152);
/* oklch */ color: oklch(63.9% 0.186 351.8);
Tailwind
colors: {
  custom: {
    50: '#ea8ab6',
    500: '#db5198',
    950: '#000000',
  },
}
SCSS
$custom: #db5198;
$custom-light: #ea8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#db5198",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 329.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.18603,
    "h": 351.8
  },
  "luminance": 0.23212
}

Semantic roles & 50–950 ramp

primary
#DB5198
secondary
#A9DFC3
accent
#E9913F
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C11
muted
#857D80

Preview Lab

Preview with #DB5198

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

Preview Lab → · Contrast checker → · Palette generator →

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