#DB45B5#DB45B5

#DB45B5 is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 63.8% C 0.218 H 339.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#DB45B5
RGBrgb(219, 69, 181)
HSLhsl(315, 68%, 56%)
HSVhsv(315, 68%, 86%)
CMYKcmyk(0%, 68.5%, 17.4%, 14.1%)
CIE-LABlab(54.72, 68.89, -28.14)
CIE-LCHlch(54.72, 74.41, 337.78°)
OKLaboklab(63.84% 0.2047 -0.0759)
OKLCHoklch(63.84% 0.218 339.7)
XYZxyz(39.6830, 22.6562, 45.9903)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45B5 #45DB6B
analogous
#B645DB #DB45B5 #DB456A
triadic
#DB45B5 #B5DB45 #45B5DB
tetradic
#DB45B5 #DBB645 #45DB6B #456ADB
square
#DB45B5 #DBB645 #45DB6B #456ADB
split-complementary
#DB45B5 #6ADB45 #45DBB6
monochromatic
#8B1B6E #BE2597 #DB45B5 #E578C9 #EFACDE

Accessibility & contrast

On white

3.80
#DB45B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#DB45B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45B5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45B5#FFFFFF#000000##000000
##DB45B51.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#7D8CB1
Tritanopia (blue-blind)
#E74A77
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db45b5;
/* rgb */ color: rgb(219, 69, 181);
/* oklch */ color: oklch(63.8% 0.218 339.7);
Tailwind
colors: {
  custom: {
    50: '#ea84cb',
    500: '#db45b5',
    950: '#000000',
  },
}
SCSS
$custom: #db45b5;
$custom-light: #ea84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#db45b5",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 315.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.21838,
    "h": 339.7
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#DB45B5
secondary
#9FDDAF
accent
#EA693D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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