#DB45B4#DB45B4

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

Color values

HEX#DB45B4
RGBrgb(219, 69, 180)
HSLhsl(316, 68%, 56%)
HSVhsv(316, 68%, 86%)
CMYKcmyk(0%, 68.5%, 17.8%, 14.1%)
CIE-LABlab(54.67, 68.75, -27.62)
CIE-LCHlch(54.67, 74.09, 338.11°)
OKLaboklab(63.8% 0.2046 -0.0745)
OKLCHoklch(63.8% 0.218 340)
XYZxyz(39.5808, 22.6153, 45.4518)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45B4 #45DB6C
analogous
#B745DB #DB45B4 #DB4569
triadic
#DB45B4 #B4DB45 #45B4DB
tetradic
#DB45B4 #DBB745 #45DB6C #4569DB
square
#DB45B4 #DBB745 #45DB6C #4569DB
split-complementary
#DB45B4 #69DB45 #45DBB7
monochromatic
#8B1B6E #BE2596 #DB45B4 #E578C9 #EFACDD

Accessibility & contrast

On white

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

On black

5.52
#DB45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45B4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45B4#FFFFFF#000000##000000
##DB45B41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B7
Deuteranopia (green-blind)
#7E8BB0
Tritanopia (blue-blind)
#E84977
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db45b4;
/* rgb */ color: rgb(219, 69, 180);
/* oklch */ color: oklch(63.8% 0.218 340.0);
Tailwind
colors: {
  custom: {
    50: '#ea84ca',
    500: '#db45b4',
    950: '#000000',
  },
}
SCSS
$custom: #db45b4;
$custom-light: #ea84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#db45b4",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 315.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63797,
    "c": 0.21773,
    "h": 340
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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