#DB45B2#DB45B2

#DB45B2 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.7% C 0.216 H 340.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#DB45B2
RGBrgb(219, 69, 178)
HSLhsl(316, 68%, 56%)
HSVhsv(316, 68%, 86%)
CMYKcmyk(0%, 68.5%, 18.7%, 14.1%)
CIE-LABlab(54.59, 68.48, -26.59)
CIE-LCHlch(54.59, 73.46, 338.78°)
OKLaboklab(63.71% 0.2043 -0.0716)
OKLCHoklch(63.71% 0.216 340.7)
XYZxyz(39.3785, 22.5344, 44.3865)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45B2 #45DB6E
analogous
#B945DB #DB45B2 #DB4567
triadic
#DB45B2 #B2DB45 #45B2DB
tetradic
#DB45B2 #DBB945 #45DB6E #4567DB
square
#DB45B2 #DBB945 #45DB6E #4567DB
split-complementary
#DB45B2 #67DB45 #45DBB9
monochromatic
#8B1B6C #BE2594 #DB45B2 #E578C7 #EFACDC

Accessibility & contrast

On white

3.81
#DB45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#DB45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45B2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45B2#FFFFFF#000000##000000
##DB45B21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#7E8BAE
Tritanopia (blue-blind)
#E84876
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db45b2;
/* rgb */ color: rgb(219, 69, 178);
/* oklch */ color: oklch(63.7% 0.216 340.7);
Tailwind
colors: {
  custom: {
    50: '#ea84c9',
    500: '#db45b2',
    950: '#000000',
  },
}
SCSS
$custom: #db45b2;
$custom-light: #ea84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db45b2",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 316.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63708,
    "c": 0.21645,
    "h": 340.7
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#DB45B2
secondary
#9FDDB0
accent
#EA6D3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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