#DB45B8#DB45B8

#DB45B8 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.0% C 0.220 H 338.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DB45B8
RGBrgb(219, 69, 184)
HSLhsl(314, 68%, 56%)
HSVhsv(314, 68%, 86%)
CMYKcmyk(0%, 68.5%, 16%, 14.1%)
CIE-LABlab(54.85, 69.31, -29.67)
CIE-LCHlch(54.85, 75.39, 336.82°)
OKLaboklab(63.98% 0.2052 -0.0803)
OKLCHoklch(63.98% 0.22 338.6)
XYZxyz(39.9941, 22.7807, 47.6289)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45B8 #45DB68
analogous
#B345DB #DB45B8 #DB456D
triadic
#DB45B8 #B8DB45 #45B8DB
tetradic
#DB45B8 #DBB345 #45DB68 #456DDB
square
#DB45B8 #DBB345 #45DB68 #456DDB
split-complementary
#DB45B8 #6DDB45 #45DBB3
monochromatic
#8B1B71 #BE259A #DB45B8 #E578CC #EFACDF

Accessibility & contrast

On white

3.78
#DB45B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DB45B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45B8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45B8#FFFFFF#000000##000000
##DB45B81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#7C8CB4
Tritanopia (blue-blind)
#E74B79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db45b8;
/* rgb */ color: rgb(219, 69, 184);
/* oklch */ color: oklch(64.0% 0.220 338.6);
Tailwind
colors: {
  custom: {
    50: '#ea84cd',
    500: '#db45b8',
    950: '#000000',
  },
}
SCSS
$custom: #db45b8;
$custom-light: #ea84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#db45b8",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 314,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63978,
    "c": 0.22034,
    "h": 338.6
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#DB45B8
secondary
#9FDDAD
accent
#EA663D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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