#DB40B4#DB40B4

#DB40B4 is a light, highly saturated pink. Relative luminance 0.220; OKLCH L 63.3% C 0.224 H 339.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#DB40B4
RGBrgb(219, 64, 180)
HSLhsl(315, 68%, 55%)
HSVhsv(315, 71%, 86%)
CMYKcmyk(0%, 70.8%, 17.8%, 14.1%)
CIE-LABlab(54.05, 70.49, -28.58)
CIE-LCHlch(54.05, 76.07, 337.93°)
OKLaboklab(63.35% 0.2099 -0.0772)
OKLCHoklch(63.35% 0.224 339.8)
XYZxyz(39.2861, 22.0259, 45.3536)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40B4 #40DB67
analogous
#B540DB #DB40B4 #DB4066
triadic
#DB40B4 #B4DB40 #40B4DB
tetradic
#DB40B4 #DBB540 #40DB67 #4066DB
square
#DB40B4 #DBB540 #40DB67 #4066DB
split-complementary
#DB40B4 #66DB40 #40DBB5
monochromatic
#87196C #BB2395 #DB40B4 #E573C8 #EEA7DC

Accessibility & contrast

On white

3.89
#DB40B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#DB40B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40B4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40B4#FFFFFF#000000##000000
##DB40B41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B7
Deuteranopia (green-blind)
#7C8AB0
Tritanopia (blue-blind)
#E84575
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40b4;
/* rgb */ color: rgb(219, 64, 180);
/* oklch */ color: oklch(63.3% 0.224 339.8);
Tailwind
colors: {
  custom: {
    50: '#ea82ca',
    500: '#db40b4',
    950: '#000000',
  },
}
SCSS
$custom: #db40b4;
$custom-light: #ea82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#db40b4",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 315.097,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63347,
    "c": 0.22359,
    "h": 339.8
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

primary
#DB40B4
secondary
#9BDCAB
accent
#EB693D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB40B4

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

Preview Lab → · Contrast checker → · Palette generator →

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