#DB45C1#DB45C1

#DB45C1 is a light, highly saturated pink. Relative luminance 0.232; OKLCH L 64.4% C 0.226 H 335.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DB45C1
RGBrgb(219, 69, 193)
HSLhsl(310, 68%, 56%)
HSVhsv(310, 68%, 86%)
CMYKcmyk(0%, 68.5%, 11.9%, 14.1%)
CIE-LABlab(55.25, 70.59, -34.25)
CIE-LCHlch(55.25, 78.46, 334.12°)
OKLaboklab(64.4% 0.2063 -0.0933)
OKLCHoklch(64.4% 0.226 335.7)
XYZxyz(40.9677, 23.1701, 52.7564)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C1 #45DB5F
analogous
#AA45DB #DB45C1 #DB4576
triadic
#DB45C1 #C1DB45 #45C1DB
tetradic
#DB45C1 #DBAA45 #45DB5F #4576DB
square
#DB45C1 #DBAA45 #45DB5F #4576DB
split-complementary
#DB45C1 #76DB45 #45DBAA
monochromatic
#8B1B77 #BE25A3 #DB45C1 #E578D2 #EFACE3

Accessibility & contrast

On white

3.73
#DB45C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DB45C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C1#FFFFFF#000000##000000
##DB45C11.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#E64F7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db45c1;
/* rgb */ color: rgb(219, 69, 193);
/* oklch */ color: oklch(64.4% 0.226 335.7);
Tailwind
colors: {
  custom: {
    50: '#ea85d4',
    500: '#db45c1',
    950: '#000000',
  },
}
SCSS
$custom: #db45c1;
$custom-light: #ea85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c1",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 310.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.644,
    "c": 0.22645,
    "h": 335.7
  },
  "luminance": 0.23167
}

Semantic roles & 50–950 ramp

primary
#DB45C1
secondary
#9FDDAA
accent
#EA5B3D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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