#DB40B6#DB40B6

#DB40B6 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.4% C 0.225 H 339.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#DB40B6
RGBrgb(219, 64, 182)
HSLhsl(314, 68%, 55%)
HSVhsv(314, 71%, 86%)
CMYKcmyk(0%, 70.8%, 16.9%, 14.1%)
CIE-LABlab(54.14, 70.77, -29.61)
CIE-LCHlch(54.14, 76.71, 337.30°)
OKLaboklab(63.44% 0.2101 -0.0801)
OKLCHoklch(63.44% 0.225 339.1)
XYZxyz(39.4913, 22.1080, 46.4343)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40B6 #40DB65
analogous
#B340DB #DB40B6 #DB4068
triadic
#DB40B6 #B6DB40 #40B6DB
tetradic
#DB40B6 #DBB340 #40DB65 #4068DB
square
#DB40B6 #DBB340 #40DB65 #4068DB
split-complementary
#DB40B6 #68DB40 #40DBB3
monochromatic
#87196D #BB2396 #DB40B6 #E573CA #EEA7DD

Accessibility & contrast

On white

3.87
#DB40B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#DB40B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40B6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40B6#FFFFFF#000000##000000
##DB40B61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#7B8AB2
Tritanopia (blue-blind)
#E74676
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #db40b6;
/* rgb */ color: rgb(219, 64, 182);
/* oklch */ color: oklch(63.4% 0.225 339.1);
Tailwind
colors: {
  custom: {
    50: '#ea82cc',
    500: '#db40b6',
    950: '#000000',
  },
}
SCSS
$custom: #db40b6;
$custom-light: #ea82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#db40b6",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 314.323,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63438,
    "c": 0.22488,
    "h": 339.1
  },
  "luminance": 0.22104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB40B6

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

Preview Lab → · Contrast checker → · Palette generator →

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